- Index
- »
- fan.domkit
- »
- Selection
Selection
@Js
abstract class Selection : Obj
Selection manages the selected items and/or indexes
Enable or disable selection
Get or set a single index
Selected zero based indexes
Get or set a single item
Selected items
True to enable multiple selection, false for single selection
Clear the selection
Is the selection currently empty
Number of selected items
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