MultiSelectListMixin

external interface MultiSelectListMixin : ListMixin

A mixin for nav elements, facilitating multiple selection of childNodes.

Inheritors

Properties

Link copied to clipboard
abstract var disabled: Boolean

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
abstract val items: Array<Element>?

A read-only list of items from which a selection can be made. It is populated from the elements passed to the light DOM, and updated dynamically when adding or removing items.

Link copied to clipboard
abstract var multiple: Boolean

Specifies that multiple options can be selected at once.

Link copied to clipboard
abstract var 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
abstract var selected: Double

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

Link copied to clipboard
abstract var selectedValues: Array<Double>?

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