Jump to: navigation, search

startChatInThisWindow(options)

Description

Use this method in a separate window ("popup" mode) to render a chat widget that occupies the whole page. Normally, if you use default provided chatWidget.html, you never have to use this method.

Returned promise

This method returns a promise similar to the one returned by startChat.

Options

Most of the options are extracted from the URL, which is formed by the startChat method, if called to create a chat in "popup" mode. However, some options cannot be passed in the URL but must be passed directly. These include:

  • ui — Use to pass an object with "hooks" to customize the built-in UI.
  • registration — Use to pass a function with custom registration workflow.
  • transport — Use in case you provide a custom transport.
  • logger

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on June 16, 2016, at 17:09.