ion-toast-controller
ToastController is a component used to create Toast components. Please see the docs for
Methods
create | |
---|---|
Description | Create a toast overlay with toast options. |
Signature | create(options?: ToastOptions | undefined) => Promise<HTMLIonToastElement> |
dismiss | |
Description | Dismiss the open toast overlay. |
Signature | dismiss(data?: any, role?: string | undefined, id?: string | undefined) => Promise<boolean> |
getTop | |
Description | Get the most recently opened toast overlay. |
Signature | getTop() => Promise<HTMLIonToastElement | undefined> |