Gleap Documentation home page
Search...
⌘K
Dashboard
Dashboard
Search...
Navigation
Ionic / Capacitor
Widget control
Documentation
API Reference
Website
Helpcenter
Roadmap
Blog
Get Started
Introduction
SDKs
Javascript
iOS
Android
ReactNative
Flutter
FlutterFlow
Ionic / Capacitor
Introducing
User identity
Track events
Track pages
Forms
Push notifications
In-app notifications
Audio recording
Console logs
Custom actions
Custom data
Callbacks
Tags
Feedback button
Network logs
Translations
Widget control
Prefill the widget form
Conversations
Feature requests
Help center
Release notes & news
Surveys
Checklists
Cordova
Server-side event tracking
NodeJS
REST
Guides
Enforce identity verification
On this page
Open the Gleap widget
Close the Gleap widget
Widget open status
Ionic / Capacitor
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
Copy
Gleap
.
open
();
Close the Gleap widget
Copy
Gleap
.
close
();
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.
Copy
const
isOpened
=
Gleap
.
isOpened
();
Translations
Prefill the widget form
Assistant
Responses are generated using AI and may contain mistakes.