MenuSeparator
Interface
Types Module: Broker
Separator for a dropdown or context menu
Properties
checkable
OptionalWhether menu action represents a checkbox state. Set it to true if you need a checkbox.
Type
boolean
checked
OptionalValue of the checkbox.
Type
boolean
checkedStateSource
OptionalGetter to retrieve the current checkbox value.
Type
() => boolean
Type declaration
Signature
() => boolean
Returns
boolean
enabled
OptionalWhether the action is enabled. Set to false to disabled the action.
Type
boolean
externalLink
OptionalExternal link (url) which will be opened upon clicking the menu item.
Type
boolean
icon
OptionalA string of SVG icon for an action. A string should be a string representation of SVG (not a path/URL).
Type
string
separator
Is a menu separator
Type
boolean
Overrides
shortcut
OptionalKeyboard shortcut for the action. Displayed as hint text.
Type
string
text
OptionalDisplayed text for action
Type
string
tooltip
OptionalTooltip text to be displayed when hovering over the action item.
Type
string