Skip to content

Latest commit

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

readme.md

ion-toast-controller

ToastController is a component used to create Toast components. Please see the docs for Toast.

[DEPRECATED] Use the toastController exported from core.

Methods

create(options?: ToastOptions | undefined) => Promise<HTMLIonToastElement>

Create a toast overlay with toast options.

Returns

Type: Promise<HTMLIonToastElement>

dismiss(data?: any, role?: string | undefined, id?: string | undefined) => Promise<boolean>

Dismiss the open toast overlay.

Returns

Type: Promise<boolean>

getTop() => Promise<HTMLIonToastElement | undefined>

Get the most recently opened toast overlay.

Returns

Type: Promise<HTMLIonToastElement | undefined>


Built with StencilJS