ion-modal-controller
Modal controllers programmatically control the modal component. Modals can be created and dismissed from the modal controller. View the
Methods
create | |
---|---|
Description | Create a modal overlay with modal options. |
Signature | create<T extends ComponentRef>(options: ModalOptions<T>) => Promise<HTMLIonModalElement> |
dismiss | |
Description | Dismiss the open modal overlay. |
Signature | dismiss(data?: any, role?: string | undefined, id?: string | undefined) => Promise<boolean> |
getTop | |
Description | Get the most recently opened modal overlay. |
Signature | getTop() => Promise<HTMLIonModalElement | undefined> |