ion-alert-controller
Alert controllers programmatically control the alert component. Alerts can be created and dismissed by the alert controller. View the
Methods
create | |
---|---|
Description | Create an alert overlay with alert options. |
Signature | create(options: AlertOptions) => Promise<HTMLIonAlertElement> |
dismiss | |
Description | Dismiss the open alert overlay. |
Signature | dismiss(data?: any, role?: string | undefined, id?: string | undefined) => Promise<boolean> |
getTop | |
Description | Get the most recently opened alert overlay. |
Signature | getTop() => Promise<HTMLIonAlertElement | undefined> |