Interface Selection<Item>
Accessors
currentState
- get currentState(): CurrentState<Item>
-
Returns CurrentState<Item>
isAllSelected
- get isAllSelected(): boolean
-
Returns boolean
isIndeterminate
- get isIndeterminate(): boolean
-
Returns boolean
numSelected
- get numSelected(): number
-
Returns number
numTotal
- get numTotal(): number
-
Returns number
selected
- get selected(): Item[]
-
Returns Item[]
Methods
deselectAll
- deselectAll(): void
-
Returns void
deselectItem
- deselectItem(item: Item): void
-
Returns void
isSelected
- isSelected(item: Item): boolean
-
Returns boolean
selectAll
- selectAll(): void
-
Returns void
selectItem
- selectItem(item: Item): void
-
Returns void
toggleAll
- toggleAll(): void
-
Returns void
toggleItem
- toggleItem(item: Item): void
-
Returns void
A table can provide a
Selection
object that matches this API