Manage widget button

showButton (optional) - boolean(default: true) Setting it to false will hide the widget button. If widget was initialized & open in the previous browser context, this flag will be overwritten to true.

closer.init({
    orgId: "00000000-0000-0000-0000-000000000000",
    showButton: false
});

closer.hideButton() - After widget initialization you can call this to hide the widget button.

closer.showButton() - After widget initialization you can call this to show the widget button.

closer.openWidget() - After widget initialization you can call this to open the widget, opening the widget will also show the main button.

Notice - Every event which opens the widget, will also show the main button.

Last updated