Class: MultiSelectionBox

ui.MultiSelectionBox

new ui.MultiSelectionBox ()

Element representing a drop-down selection box for multi-selections.

Properties:
Name Type Description
emptyText string

(default: "---") The text shown when no items are selected.

model html.ListModel

(default: ListModel { }) The list model of strings holding the selection items.

selections Array.<number>

(default: []) The indexes of the currently selected items.

Example
MultiSelectionBox {
    model: ListModel { data: ["One", "Two", "Three"] }
}

Extends