Skip to main content

Interface: MenuSeparator

Charting Library.MenuSeparator

Separator for a dropdown or context menu

Hierarchy

Properties

checkable

Optional checkable: boolean

Whether menu action represents a checkbox state. Set it to true if you need a checkbox.

Inherited from

ActionDescription.checkable


checked

Optional checked: boolean

Value of the checkbox.

Inherited from

ActionDescription.checked


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

ActionDescription.enabled


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

ActionDescription.icon


separator

separator: boolean

Is a menu separator

Overrides

ActionDescription.separator


shortcut

Optional shortcut: string

Keyboard shortcut for the action. Displayed as hint text.

Inherited from

ActionDescription.shortcut


text

Optional text: string

Displayed text for action

Inherited from

ActionDescription.text


tooltip

Optional tooltip: string

Tooltip text to be displayed when hovering over the action item.

Inherited from

ActionDescription.tooltip