CheckboxSelectAllController
Purpose
Controller to enable select-all/select-none functionality for a group of checkboxes.
| Target | Purpose | Default |
|---|
selectAll | The checkbox that controls the Select All/Select None functionality | - |
checkbox | The checkboxes to be included in the Select All/Select None functionality | - |
| Value | Type | Description | Default |
|---|
- | - | - | - |
Events
| Event | When | Dispatched on | event.detail |
|---|
- | - | - | - |
Side Effects
The controller installs change events on all inputs that are annotated with data-select-all-target="checkbox".
How to Use