Package-level declarations

Types

Link copied to clipboard

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

Link copied to clipboard
abstract external class ItemElement : HTMLElement, ItemMixin, ThemableMixin, DirMixin, PolylitMixin, LumoInjectionMixin

<vaadin-item> is a Web Component providing layout for items in tabs and menus.

Link copied to clipboard
external interface ItemMixin : ActiveMixin, FocusMixin

A mixin providing focused, focus-ring, active, disabled and selected.

Functions

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

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

Link copied to clipboard

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