AbstractMenuItemProps Interface
Beta
Properties for a Menu item
Extends
Properties
| Name | Type | Description | |
|---|---|---|---|
| id | string | The id for the menu item. | |
| item | AbstractCommandItemProps | AbstractToolItemProps | The item to execute when this item is invoked. | |
| submenu | undefined | AbstractMenuItemProps[] | Nested array of item props. |
Inherited properties
| Name | Type | Inherited from | Description |
|---|---|---|---|
| applicationData | undefined | any | AbstractItemProps | can be used by application to store miscellaneous data. |
| badgeType | undefined | BadgeType | AbstractItemProps | Badge to be overlaid on the item. |
| description | string | StringGetter | DescriptionProps | if set, it is used to explicitly set the description shown by a component. |
| descriptionKey | undefined | string | DescriptionProps | if set, it is used to define a key that is used to look up a localized string. |
| iconSpec | undefined | string | AbstractIconProps | Name of icon WebFont entry or if specifying an SVG symbol added by plug on use "svg:" prefix to imported symbol Id. |
| isActive | undefined | false | true | AbstractItemProps | if set, component will be considered "active" an will display an "active stripe" - defaults to false |
| isEnabled | undefined | false | true | AbstractItemProps | if set, component will be enabled - defaults to true |
| isPressed | undefined | false | true | AbstractItemProps | if set, component will be considered selected but will NOT display an "active stripe" - defaults to false. |
| isVisible | undefined | false | true | AbstractItemProps | if set, component will be visible - defaults to true |
| label | string | StringGetter | LabelProps | if set, it is used to explicitly set the label shown by a component. |
| labelKey | undefined | string | LabelProps | if set, it is used to define a key that is used to look up a localized string. |
| stateFunc | undefined | (state: Readonly<BaseItemState>) => BaseItemState | SyncUiProps | Function called to get the new items state |
| stateSyncIds | undefined | string[] | SyncUiProps | Synchronize Ids to listen for |
| tooltip | string | StringGetter | TooltipProps | used to explicitly set the tooltip shown by a component. |
| tooltipKey | undefined | string | TooltipProps | if set, it is used to define a key that is used to look up a localized string. |
Defined in
Last Updated: 08 January, 2020