Bulk select allows users to check multiple checkboxes at once and toggles a UI for bulk actions to be performed for the selected items.
Bulk select consist of four main parts:checkbox-bulk-select
is used to define that item.bulk-select-body
. Every targeted checkbox within this wrapper is marked as checkbox-bulk-select-target
. The id bulk-select-body
is used to hook it to the main checkbox with data-checkbox-body="#bulk-select-body"
bulk-select-actions
will be toggled by checking the main checkbox, which is hooked using data-checkbox-actions="#bulk-select-actions"
bulk-select-replace-element
id, which is hooked using data-checkbox-replaced-element="#bulk-select-replace-element"
|
Name | Nationality | Gender | Age |
---|---|---|---|---|
|
Kit Harington | British | Male | 32 |
|
Emilia Clarke | British | Female | 32 |
|
Peter Dinklage | American | Male | 49 |
|
Sean Bean | British | Male | 59 |
|
Maisie Williams | British | Female | 21 |
|
Sophie Turner | British | Female | 23 |