Number
Boolean
OnUpdateSubMenu
OnUpdateSubMenu
Number
Get the MenuID
Kind: Instance method of OnUpdateSubMenu
Returns: Number
- the KEY_MENU_ID value
Boolean
Get the UpdateSubCells
Kind: Instance method of OnUpdateSubMenu
Returns: Boolean
- the KEY_UPDATE_SUB_CELLS value
OnUpdateSubMenu
Set the MenuID
Kind: Instance method of OnUpdateSubMenu
Returns: OnUpdateSubMenu
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
id | Number |
This menuID must match a menuID in the current menu structure - The desired MenuID. {'num_min_value': 0, 'num_max_value': 2000000000} |
OnUpdateSubMenu
Set the UpdateSubCells
Kind: Instance method of OnUpdateSubMenu
Returns: OnUpdateSubMenu
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
cells | Boolean |
If not set, assume false. If true, the app should send AddCommands with parentIDs matching the menuID. These AddCommands will then be attached to the submenu and displayed if the submenu is selected. - The desired UpdateSubCells. |