Interface: MenuSeparator
Broker.MenuSeparator
Separator for a dropdown or context menu
Hierarchy
-
↳
MenuSeparator
Properties
checkable
• Optional
checkable: boolean
Whether menu action represents a checkbox state. Set it to true if you need a checkbox.
Inherited from
checked
• Optional
checked: boolean
Value of the checkbox.
Inherited from
checkedStateSource
• Optional
checkedStateSource: () => boolean
Getter to retrieve the current checkbox value.
Type declaration
▸ (): boolean
Returns
boolean
Inherited from
ActionDescription.checkedStateSource
enabled
• Optional
enabled: boolean
Whether the action is enabled. Set to false to disabled the action.
Inherited from
externalLink
• Optional
externalLink: boolean
External link (url) which will be opened upon clicking the menu item.
Inherited from
ActionDescription.externalLink
icon
• Optional
icon: string
A string of SVG icon for an action. A string should be a string representation of SVG (not a path/URL).
Inherited from
separator
• separator: boolean
Is a menu separator
Overrides
shortcut
• Optional
shortcut: string
Keyboard shortcut for the action. Displayed as hint text.
Inherited from
text
• Optional
text: string
Displayed text for action
Inherited from
tooltip
• Optional
tooltip: string
Tooltip text to be displayed when hovering over the action item.