Simple lightweight vanilla Javascript plugin for enhancing checkboxes.
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.
demo
dist
src
.editorconfig
.eslintrc
.gitignore
.npmignore
.travis.yml
LICENSE
bower.json
humans.txt
index.html
package.json
readme.md
stats.json

readme.md

Checkbix

Build Status

NPM

Simple vanilla Javascript plugin for enhancing checkboxes using CSS. Accessible, lightweight and easy to use. No dependencies.

Usage

<input id="mycheckbox" type="checkbox" class="checkbix" data-text="Checkbix">

See the demo for more examples and settings.

Install

bower install checkbix.js
npm install checkbix

Include files

<link rel="stylesheet" href="dist/css/checkbix.min.css">
<script src="dist/js/checkbix.min.js"></script>

Init

<script>
    Checkbix.init();
</script>

Develop

Build

npm run build:all    

Serve

npm start

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.