You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am using the Angular widget of LiveChat and I want to be able to call functions to manipulate the chat widget. For Example. set the widget visibility to 'maximize' and 'minimize'. From the documentation Here Angular Adapter it looks like I should be able to call LiveChatWidget.on('visibility_changed', onVisibilityChanged);. My Question is Am I only able to use this function call in a script tag html or can I use it also in my component.ts file?
To Reproduce
Steps to reproduce the behavior:
OnInit LiveChat widget will be 'minimized'.
On Click of widget call function to open another Angular Dialog.
When form submitted in Dialog, can make a call to 'maximize' LiveChat widget.
other function call between LiveChat and Angular components will continue.
Expected behavior
An example and expected behavior of how to make function calls between Angular components and LiveChat, Do I make calls in script tag HTML or can I make calls to the Widget in component files?
Screenshots
not applicable at this time
Desktop (please complete the following information):
OS: [Windows 10]
Browser [Edge*, Chrome, FireFox]
Smartphone (please complete the following information):
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered:
Describe the bug
I am using the Angular widget of LiveChat and I want to be able to call functions to manipulate the chat widget. For Example. set the widget visibility to 'maximize' and 'minimize'. From the documentation Here Angular Adapter it looks like I should be able to call
LiveChatWidget.on('visibility_changed', onVisibilityChanged);
. My Question is Am I only able to use this function call in a script tag html or can I use it also in my component.ts file?To Reproduce
Steps to reproduce the behavior:
Expected behavior
An example and expected behavior of how to make function calls between Angular components and LiveChat, Do I make calls in script tag HTML or can I make calls to the Widget in component files?
Screenshots
not applicable at this time
Desktop (please complete the following information):
Smartphone (please complete the following information):
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: