In some situations you might want to take full control over showing the Gleap widget. This can be achieved with the following method.
Open the Gleap widget
JavaScript
Gleap.open();This method opens the Gleap widget and shows the feedback menu options.
Close the Gleap widget
JavaScript
Gleap.close();This method closes the Gleap widget.
Widget open status
It's possible to request the widget open status with the following method.
JavaScript
const isOpened = await Gleap.isOpened();
