1.0.1 • Published 7 years ago

toggler.js v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

#Toggler.js

Toggler.js will change your checkboxes into beautiful toggles.


Usage

Install with npm or bower

npm install toggler.js

bower install toggler.js

HTML

You can add optional parameters to style the toggles

  • toggle-position (optional) - left - right

  • toggle-color (optional) (default: green) - #f00

<input type='checkbox' data-toggle-position='right' data-toggle-color='#f00' />

Javascript

$('input[type="checkbox"]).toggler();

That's it!

1.0.1

7 years ago

1.0.0

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago