- Index
- »
- fan.domkit
- »
- Selection
Selection
@Js
abstract class Selection : Obj
Selection manages the selected items and/or indexes
Get or set a single item
Selected zero based indexes
Get or set a single index
Selected items
Enable or disable selection
True to enable multiple selection, false for single selection
Number of selected items
Clear the selection
Is the selection currently empty
Void clear()
Clear the selection
Bool : enabled
Enable or disable selection.
abstract Int? : index
Get or set a single index
abstract Int[] : indexes
Selected zero based indexes
abstract Bool isEmpty()
Is the selection currently empty
abstract Obj? : item
Get or set a single item
abstract Obj[] : items
Selected items.
Bool : multi
True to enable multiple selection, false for single selection.
abstract Int size()
Number of selected items