Package-level declarations

Types

Link copied to clipboard
external interface HTMLElementOrString

Union of an element and a tag name.

Link copied to clipboard

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

Link copied to clipboard

<vaadin-menu-bar> is a Web Component providing a set of horizontally stacked buttons offering the user quick access to a consistent set of commands. Each button can toggle a submenu with support for additional levels of nested menus.

Link copied to clipboard

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

Link copied to clipboard
external interface MenuBarItem

A top-level item in the declarative items array of <vaadin-menu-bar>.

Link copied to clipboard

Controller for the tooltip slotted into <vaadin-menu-bar>. Extends ContextMenuTooltipController to also support menu-bar buttons as targets, in addition to sub-menu items.

Link copied to clipboard
external interface StringArrayOrString

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

Link copied to clipboard
external interface SubMenuItem : MenuBarItem

An item in a sub menu of <vaadin-menu-bar>.

Functions

Link copied to clipboard
fun createMenuBar(configure: MenuBarElement.() -> Unit = {}): MenuBarElement

Creates a <vaadin-menu-bar> 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

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

Link copied to clipboard

Imports @vaadin/menu-bar/src/vaadin-menu-bar.js, registering <vaadin-menu-bar>, 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.