Turn checkboxes and radio buttons in toggle switches.
fork from : https://github.com/Bttstrp/bootstrap-switch.git
|
%!s(int64=11) %!d(string=hai) anos | |
---|---|---|
build | %!s(int64=11) %!d(string=hai) anos | |
docs | %!s(int64=11) %!d(string=hai) anos | |
src | %!s(int64=11) %!d(string=hai) anos | |
.gitignore | %!s(int64=11) %!d(string=hai) anos | |
CNAME | %!s(int64=11) %!d(string=hai) anos | |
CONTRIBUTING.md | %!s(int64=11) %!d(string=hai) anos | |
Gruntfile.coffee | %!s(int64=11) %!d(string=hai) anos | |
LICENSE | %!s(int64=12) %!d(string=hai) anos | |
README.md | %!s(int64=11) %!d(string=hai) anos | |
bower.json | %!s(int64=11) %!d(string=hai) anos | |
composer.json | %!s(int64=11) %!d(string=hai) anos | |
index.html | %!s(int64=11) %!d(string=hai) anos | |
package.json | %!s(int64=11) %!d(string=hai) anos |
Turn checkboxes and radio buttons in toggle switches. Version 2 is here. Beware! The API design has been revisited. Check out the documentation to know more.
http://www.bootstrap-switch.org
Just include jQuery, Bootstrap and Bootstrap Switch CSS + Javascript
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link rel="stylesheet" href="bootstrap.css">
<link rel="stylesheet" href="bootstrap-switch.css">
<script src="jquery.js"></script>
<script src="bootstrap-switch.js"></script>
If you want to use your bootstrap variables, edit bootstrap-switch.less and compile it:
lessc src/less/bootstrap3/bootstrap-switch.less bootstrap-switch.css
Or if you are using Bootstrap 2.3.2:
lessc src/less/bootstrap2/bootstrap-switch.less bootstrap-switch.css
IE8+ and all the other modern browsers.
Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0