# check-all **Repository Path**: mirrors_github/check-all ## Basic Information - **Project Name**: check-all - **Description**: Multiple checkbox selection helper. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-02-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Check All - Check/uncheck `[data-check-all]` to check/uncheck all checkboxes in a container. - Shift click on `[data-check-all-item]` to select all checkboxes between the last checked checkbox and the target checkbox. - Auto-update `[data-check-all-count]` to count of checked items. ## Installation ``` $ npm install @github/check-all ``` ## Usage ### JS ```js import checkAll from '@github/check-all' checkAll(document.querySelector('[data-check-all-container]')) ``` Using a library like [selector-observer](https://github.com/josh/selector-observer), the behavior can automatically be applied to any container matching a selector. ```js import {observe} from 'selector-observer' import checkAll from '@github/check-all' observe('[data-check-all-container]', { subscribe: checkAll }) ``` ### HTML ```html