class domkit::ListButton
sys::Obj dom::Elem domkit::Button domkit::ListButton
@Js
ListButton allows user selection of an item in a list by showing a listbox popup on button press.
See also: docDomkit, Button
, ToggleButton
- items
-
Obj[] items := Obj#.emptyList
The current list items.
- make
-
new make()
- onElem
-
Callback to create an
Elem
representation for a given list item. If function does not return anElem
instance, one will be created usingtoStr
of value. - onSelect
-
Callback when selected item has changed.
- sel
-
Selection sel { private set }
Selection for list.