- Checkbox state setting now compatible to jQuery 1.10.1
- LESS support for both
bootstrap-toggle.cssandbootstrap-toggle-animated.css - Check out
examplesfor usage - Enjoy, Nijiko and Nate tried to make it as versatile as possible!
First, include bootstrap-toggle.css right after Bootstrap's CSS;
alternatively use bootstrap-toggle-animated.css for animated switches.
Second, include bootstrap-toggle.js after jQuery.
##Usage:
<div class="toggle basic" data-enabled="ON" data-disabled="OFF" data-toggle="toggle">
<input type="checkbox" value="1" name="myCheckbox" class="checkbox" checked="checked" />
<label class="check" for="myCheckbox"></label>
</div>
<script>
$('.basic').toggleSlide();
</script>
- Nate Nadeau https://github.com/bigotilda
- Nijiko Yonskai http://twitter.com/nijikokun
Copyright 2012 Goodybag, Inc.