🏋 Widget control
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
cordova.plugins.GleapPlugin.open();
Close the Gleap widget
cordova.plugins.GleapPlugin.close();
Widget open status
It's possible to request the widget open status with the following method.
const isOpened = cordova.plugins.GleapPlugin.isOpened();