With NPM:
npm install checkboxes.js --save
With bower:
bower install checkboxes --save
Manually:
- Download the latest release.
- Then include
jquery.checkboxes-###.min.js
just after jQuery.
- Check all checkboxes in context.
- Uncheck all checkboxes in context.
- Toggle states of all checkboxes in context.
- Enable range selection.
- Limit the number of checked checkbox per context.
- Data API like Twitter Bootstrap.
- Checking all checkboxes in a context
- Unchecking all checkboxes in a context
- Toggling all checkboxes's state in a context
- Enabling range selection of checkboxes
- Limiting the number of checked checkboxes in a context
All help are more than welcome!
-
Fork this respository.
-
Clone your fork and create a feature branch from develop.
git clone [email protected]:<your-username>/checkboxes.js.git git fetch origin git checkout develop git checkout -b feature-<super-power>
-
Install development dependencies.
npm install bower install
-
Code and be happy!
-
Test your code (run
grunt
to watch JS files and execute the test specs). -
When everything is in good shape prepare the distribution files (run
grunt build
). -
Submit a pull request and grab popcorn.
Questions? Hit me.
When coding run
grunt
, this will watch for any change in source and test files, then it will lint and test your code as you code.
To run all tests:
grunt test
-
checkboxes.js was created by Rubens Mariuzzo with all the love in the world.
-
checkboxes.js would not have been possible without the help of: jQuery, Highlight.js, Font Awesome, Glyphicons, Twitter Bootstrap and Subtle Patterns. I'm very thankful for all!
- Patchwork