1.1.2 • Published 8 months ago
@emmanuelbeziat/checkbox-group v1.1.2
checkbox-group
✅ Checkbox group setup with some "master" one that unchecks all others, or gets unchecked if one of the others is checked. Kinda like an "all" checkbox.
TODO
A lot to get this widely useable… Options, and stuff.
For now, it just works like this:
<div data-checkbox-group>
<label><input type="checkbox" data-checkbox-group-master> All</label>
<label><input type="checkbox"> Value 1</label>
<label><input type="checkbox"> Value 2</label>
</div>new CheckboxGroup()