AbstractMenuItemProps Interface

Properties for a Menu item

Extends

Properties

Name Type Description
iconRight string | ConditionalStringValue Icon to display on right side of the menu item.  
id string The id for the menu item.  
item AbstractActionItemProps | undefined The item to execute when this item is invoked.  
submenu AbstractMenuItemProps[] | undefined Nested array of item props.  

Inherited properties

Name Type Inherited from Description
applicationData any | undefined CommonItemProps can be used by application to store miscellaneous data.
badgeType BadgeType | undefined CommonItemProps Badge to be overlaid on the item.
description string | ConditionalStringValue CommonItemProps if set, it is used to explicitly set the description shown by components that support a description.
icon string | ConditionalStringValue CommonItemProps Name of icon WebFont entry or if specifying an imported SVG symbol use "webSvg:" prefix to imported symbol Id.
internalData Readonly Map<string, any> | undefined CommonItemProps optional data to be used by item implementor.
isActive boolean | undefined CommonItemProps if set, component will be considered "active" an will display an "active stripe" - defaults to false
isDisabled boolean | ConditionalBooleanValue CommonItemProps if true component will be disabled - defaults to false
isHidden boolean | ConditionalBooleanValue CommonItemProps if true component will be hidden - defaults to false
isPressed boolean | undefined CommonItemProps if set, component will be considered selected but will NOT display an "active stripe" - defaults to false.
label string | ConditionalStringValue CommonItemProps if set, it is used to explicitly set the label shown by a component.
tooltip string | ConditionalStringValue CommonItemProps used to explicitly set the tooltip shown by a component.

Defined in

Last Updated: 17 May, 2024