Files
ionic-framework/core/src/components/action-sheet-controller
2018-10-11 16:49:05 -05:00
..
2018-10-11 16:49:05 -05:00

ion-action-sheet-controller

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(opts: ActionSheetOptions) => Promise<HTMLIonActionSheetElement>

Create an action sheet overlay with action sheet options.

Parameters

Name Type Description
opts ActionSheetOptions

Returns

Type: Promise<HTMLIonActionSheetElement>

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

Dismiss the open action sheet overlay.

Parameters

Name Type Description
data any
role string | undefined
id string | undefined

Returns

Type: Promise<boolean>

getTop() => Promise<HTMLIonActionSheetElement | undefined>

Get the most recently opened action sheet overlay.

Returns

Type: Promise<HTMLIonActionSheetElement | undefined>


Built with StencilJS