Search docs/

ion-action-sheet-controller

Contents

Action Sheet controllers programmatically control the action sheet component. Action Sheets can be created and dismissed from the action sheet controller. View the Action Sheet documentation for a full list of options to pass upon creation.

Methods

create

Description

Create an action sheet overlay with action sheet options.

Signaturecreate(options: ActionSheetOptions) => Promise<HTMLIonActionSheetElement>

dismiss

Description

Dismiss the open action sheet overlay.

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

getTop

Description

Get the most recently opened action sheet overlay.

SignaturegetTop() => Promise<HTMLIonActionSheetElement | undefined>