onOpen
Triggered when the widget is expanded (either by the contact clicking the launcher or programmatically via widget.open).
onOpen: function () {
console.log("Widget opened");
// Example: Pause a video or analytics tracking
}
Triggered when the widget is expanded (either by the contact clicking the launcher or programmatically via widget.open).
onOpen: function () {
console.log("Widget opened");
// Example: Pause a video or analytics tracking
}