Package-level declarations

Types

Link copied to clipboard

Attribute names of <vaadin-context-menu>, for use with setAttribute.

Link copied to clipboard

<vaadin-context-menu> is a Web Component for creating context menus.

Link copied to clipboard

Typed event names of <vaadin-context-menu>, for use with addEventHandler.

Link copied to clipboard

Attribute names of <vaadin-context-menu-item>, for use with setAttribute.

Link copied to clipboard
external interface ContextMenuItemData

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

Link copied to clipboard

<vaadin-context-menu-item> is a Web Component for creating <vaadin-context-menu> items.

Link copied to clipboard

Attribute names of <vaadin-context-menu-list-box>, for use with setAttribute.

Link copied to clipboard

<vaadin-context-menu-list-box> is a Web Component for wrapping <vaadin-context-menu> items.

Link copied to clipboard
external interface ContextMenuMixin : ItemsMixin
Link copied to clipboard

Renders the content of a context menu.

Link copied to clipboard
external interface ContextMenuRendererContext

Context passed to a ContextMenuRenderer.

Link copied to clipboard

Additional detail about the element a context menu was opened for.

Link copied to clipboard
abstract external class ContextMenuTooltipController

Controller for the tooltip slotted into <vaadin-context-menu>. Configures the tooltip in manual mode and drives its target, context, and position based on the currently hovered or focused item.

Link copied to clipboard
external interface HTMLElementOrString

Union of an element and a tag name.

Link copied to clipboard
external interface ItemsMixin
Link copied to clipboard
Link copied to clipboard
external interface StringArrayOrString

Union of a list of theme names and a single theme name.

Functions

Link copied to clipboard

The class registered by @vaadin/context-menu/src/vaadin-context-menu-tooltip-controller.js.

Link copied to clipboard

Creates a <vaadin-context-menu> element. The custom element is registered on first use.

Link copied to clipboard

Creates a <vaadin-context-menu-item> element. The custom element is registered on first use.

Link copied to clipboard

Creates a <vaadin-context-menu-list-box> element. The custom element is registered on first use.

Link copied to clipboard

Wraps a tag name as a HTMLElementOrString.

fun HTMLElementOrString(value: HTMLElement): HTMLElementOrString

Wraps an element as a HTMLElementOrString.

Link copied to clipboard

Imports @vaadin/context-menu/src/vaadin-context-menu.js, registering <vaadin-context-menu>, and returns the element class.

Link copied to clipboard

Imports @vaadin/context-menu/src/vaadin-context-menu-item.js, registering <vaadin-context-menu-item>, and returns the element class.

Link copied to clipboard

Imports @vaadin/context-menu/src/vaadin-context-menu-list-box.js, registering <vaadin-context-menu-list-box>, and returns the element class.

Link copied to clipboard

Wraps a list of theme names as a StringArrayOrString.

Wraps a single theme name as a StringArrayOrString.