ListBoxAttributes

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

Properties

Link copied to clipboard
const val disabled: String

If true, the user cannot interact with this element. When the element is disabled, the selected item is not updated when selected property is changed.

Link copied to clipboard
const val multiple: String

Specifies that multiple options can be selected at once.

Link copied to clipboard
const val orientation: String

Define how items are disposed in the dom. Possible values are: horizontal|vertical. It also changes navigation keys from left/right to up/down.

Link copied to clipboard
const val selected: String

The index of the item selected in the items array. Note: Not updated when used in multiple selection mode.

Link copied to clipboard

Array of indexes of the items selected in the items array Note: Not updated when used in single selection mode.

Link copied to clipboard
const val theme: String

The theme variants to apply to the component.