Number of deselected items.
Is selection indeterminate?
List of original items to set up selection for.
Readonly
onTriggers whenever any selection change happen.
Readonly
onTriggers when an item is deselected.
Readonly
onTriggers when all items are deselected. Only when Selection.deselectAll is called.
Readonly
onTriggers when an item is selected.
Readonly
onTriggers when all items are selected. Only when Selection.selectAll is called.
Readonly
pkItem unique property key to store selection by.
Number of selected items.
Selection dict.
This is where we keep which item is selected (value true) and which item is not (value not true).
List of original items that are selected
Same as selectedItems but returns IDs only.
Update selected and deselected numbers. Also update indeterminate status.
Deselect an item.
to deselect.
Whether to generate counts (default is true).
Deselect all items.
Private
getReset all selection and update the count.
Select an item.
to select.
Whether to generate counts (default is true).
Select all items.
Select all if selection is indeterminate or no item is selected otherwise deselect all.
Toggle an item selection status.
to toggle selection.
Whether to generate counts (default is true).
Takes a list of items and handles selection for them.