đ Widget control
Tags: JavaScript, React, Vue, Angular, Website, Web App
In some situations you might want to take full control over showing or hiding the Gleap widget. This can be achieved with the following methods.
Open the Gleap widgetâ
Gleap.open();
Close the Gleap widgetâ
Gleap.close();
info
If you want to get notified of certain events, check out the events documentation page.
Widget open statusâ
It's possible to request the widget open status with the following method.
const isOpened = Gleap.isOpened();