ListButton
@Js
class ListButton : Button
ListButton allows user selection of an item in a list by showing a listbox popup on button press.
See also: docDomkit, Button, ToggleButton
Selection for list
The current list items
Callback to create an Elem representation for a given list item
Callback when selected item has changed
Obj[] : items
The current list items.
new make()
Void onElem(|Obj->Obj| f)
Callback to create an Elem representation for a given list item. If function does not return an Elem instance, one will be created using toStr of value.
Void onSelect(|This| f)
Callback when selected item has changed.
Selection : sel
Selection for list.