jquery-qubit

2.0.9 • Public • Published

jquery-qubit

Provides the semantics for a nested list of tri-state checkboxes, using the HTML5 "indeterminate" property. When attached to a jQuery element jquery-qubit listens for change events to input[type=checkbox] elements, and updates the checked and indeterminate based on the checked values of any checkboxes in child elements of the DOM.

This plugin is used by jQuery Bonsai. For a full usage example please see there.

Usage

$('ul#the-list').qubit();

Package Sidebar

Install

npm i jquery-qubit

Weekly Downloads

579

Version

2.0.9

License

MIT

Last publish

Collaborators

  • aexmachina