Skip to content

ActionItem Object

An ActionItemobject is used together with the ActionSheet object to implement Action Sheets on iOS. It functions as a menu item in a group of menu items.


You create an ActionItem object by using the voltmx.ui.ActionItem function. At the time you create the ActionItem object, you specify a callback function that is automatically invoked when the user selects the particular ActionItem.

After you call the voltmx.ui.ActionItem function and instantiate an ActionItem object, you can enable or disable it with the ActionItem object's enable property.