Optional
ariaOptional
checked?: DynamicValue<boolean | "mixed">Optional
class?: stringA CSS class applied to the item
Optional
data?: TThis data payload is passed to the onMenuSelect()
hook and with the menu-select
event
Optional
enabled?: DynamicValue<boolean>Optional
id?: stringThis id string is passed to the onMenuSelect()
hook and with the menu-select
event
Optional
keyboardOptional
label?: DynamicValue<string>A string of HTML markup used to describe the item
Optional
onWhen this menu item is selected, a menu-select
event is dispatched
and this hook is called.
Optional
data?: TOptional
id?: stringOptional
tooltip?: DynamicValue<string>Optional
type?: "command"Optional
visible?: DynamicValue<boolean>
An accessible text string that describes the item. Usually not necessary, as the
label
is used for this, however if the menu item is for example a color swatch, theariaLabel
can be used to describe the color.