Event properties
Always
'view:pre:change'.The reason for the view change, for example,
'launcherClicked', 'chatLoaded', 'calledChangeView', 'mainWindowMinimized'.The previous view state.
Whether the launcher was visible.
Whether the main window was visible.
The new view state to apply. It can be modified by the handler.
Whether the launcher will be visible.
Whether the main window will be visible.
View change reasons
-
launcherClicked
User clicked the launcher button. -
chatLoaded
Chat loaded for the first time. -
calledChangeView
View changed programmatically through thechangeView()method. -
mainWindowMinimized
User clicked the minimize button.
Example
Do you need practical examples?
Learn how to apply the features available for embedded chat into your implementation with guidance and examples.

