showActionSheet( )


Creates and opens a list of selectable actions on a mobile app.

developer preview tag

This method displays an action sheet to the app user. Action sheets are commonly used in app development to present a choice of actions for an app user to choose from. Typically, these actions are related to the current context.

When an app user selects an action in the action sheet, showActionSheet() returns a promise that resolves to the action sheet's result.

Method Declaration
Copy
Method Parameters
actionsArray<ActionSheetActions>Required

Action sheet actions.


headerOptionsHeaderOptions

Action sheet header.

Returns
Return Type:Promise<ActionSheetResult>
Did this help?