January 25, 2014
Switchery is a simple component that helps you turn your default HTML checkbox inputs into beautiful iOS 7 style switches in just few simple steps. You can easily customize switches, so that they match your design perfectly.
Supported by all modern browsers: Chrome, Firefox, Opera, Safari, IE8+
It has got the following options :-
color: color of the switch element (HEX or RGB value).
secondaryColor: secondary color for the box shadow and border, when the switch is off.
className: class name for the switch element (by default styled in switchery.css).
disabled: enable or disable click events and changing the state of the switch (boolean value).
disabledOpacity: opacity of the switch when it’s disabled (0 to 1).
speed: length of time that the transition will take, ex. ‘0.4s’, ‘1s’, ‘2.2s’ (Note: transition speed of the handle is twice shorter).
Created by Alexander Petkov
© 2013 jquer.in
Curated By Jay Kanakiya