Access via:
io.modalsAPIinterface
Modals API.
Properties (3)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| alerts⚓︎ | AlertsAPI | x | Alerts API. |
|
| dialogs⚓︎ | DialogsAPI | x | Dialogs API. |
|
| version⚓︎ | string | x | Version of the Modals API. |
1 Methods
getStatus()⚓︎
() => Promise<ModalsStatus>
Retrieves the status of the Modals API. Use this to check whether the Modals API is available for usage (e.g., dialogs and alerts can be disabled via the platform configuration).