ContextMenuItemData

external interface ContextMenuItemData

An item in the declarative items array of <vaadin-context-menu>.

Items can be nested through children; a parent item with children opens a sub menu.

Properties

Link copied to clipboard
abstract var checked: Boolean?

Whether the item is checked.

Link copied to clipboard

Sub menu items.

Link copied to clipboard
abstract var className: String?

A CSS class name for the item.

Link copied to clipboard

An element or a tag name used to render the item content.

Link copied to clipboard
abstract var disabled: Boolean?

Whether the item is disabled.

Link copied to clipboard
abstract var keepOpen: Boolean?

Whether the sub menu stays open after the item is selected.

Link copied to clipboard
abstract var text: String?

The text rendered in the item.

Link copied to clipboard
abstract var theme: StringArrayOrString?

A theme name or an array of theme names for the item.

Link copied to clipboard
abstract var tooltip: String?

Tooltip text shown for the item.

Link copied to clipboard
abstract var tooltipPosition: String?

Position of the tooltip relative to the item.