Skip to content
☑️ A jQuery plugin that gives you nice powers over your checkboxes.
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Fixed: 'ready' event is deprecated Oct 12, 2017
tests Added event triggering. Oct 1, 2016
.babelrc Babel setup done. Jul 27, 2016
.editorconfig Changing to 4 spaces as indentation. Sep 2, 2015
.gitignore
.jshintrc
.travis.yml
Gruntfile.js
LICENSE Updating LICENSE year. Oct 1, 2016
README.md
banner.png
bower.json
package-lock.json Updated: dev dependencies to latest. Jul 9, 2018
package.json Updated: dev dependencies to latest. Jul 9, 2018

README.md

checkboxes.js – A jQuery plugin that gives you nice powers over your checkboxes

Build Status

Installation

With NPM:

npm install checkboxes.js --save

With bower:

bower install checkboxes --save

Manually:

  1. Download the latest release.
  2. Then include jquery.checkboxes-###.min.js just after jQuery.

Features

  • 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.

Documentation and examples

Want to contribute?

All help are more than welcome!

Pre-requisites

Development Workflow

  1. Fork this respository.

  2. Clone your fork and create a feature branch from develop.

    git clone git@github.com:<your-username>/checkboxes.js.git
    git fetch origin
    git checkout develop
    git checkout -b feature-<super-power>
  3. Install development dependencies.

    npm install
    bower install
  4. Code and be happy!

  5. Test your code (run grunt to watch JS files and execute the test specs).

  6. When everything is in good shape prepare the distribution files (run grunt build).

  7. Submit a pull request and grab popcorn.

Questions? Hit me.

ProTip:

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.

Tests

To run all tests:

grunt test

Credits

You can’t perform that action at this time.