checkbix
checkbix copied to clipboard
Simple lightweight vanilla Javascript plugin for enhancing checkboxes.
Checkbix
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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request
License
This project is licensed under the MIT License - see the LICENSE file for details.
