Defines an Action Sheet action component.
The ActionSheet plugin shows a native list of options the user can choose from.
Supported platorm(s):
• Android
• iOS
You can access data from the next action in the chain in (TS) mode with:
• out: The index of the selected button
Whenever cordova platform is not available, the value defined in mocking options is returned.
Default mocked value is 0
.
For more information : Action Sheet.
Name | Description |
---|---|
Android Enable Cancel Button | Enable a cancel on Android. |
Android Theme | Theme to be used on Android. |
Winphone Enable Cancel Button | Enable a cancel on Windows Phone. |
add Cancel Button With Label | Add a cancel button with text. |
add Destructive Button With Label | Add a destructive button with text. |
button Labels | The labels for the buttons. Uses the index x. |
destructive Button Last | Choose if destructive button will be the last. |
mocked response | The mocked response for the action sheet in case of running not supported platform. Must be a number. |
position | On an iPad, set the X,Y position. |
subtitle | The subtitle for the actionsheet. |
title | The title for the actionsheet. |
Comment | Describes the object comment to include in the documentation report. This property generally contains an explanation about the object. |
Is active | Defines whether the component is active. |