Bootstrap Switch Button is a widget that converts plain checkboxes into responsive switch buttons.
transition
property on .switch-group
. You
can also turn animation off completely.
data-toggle="switchbutton"
to convert checkboxes into toggles.
Method | Demo | Description |
---|---|---|
initialize | Initializes the switch-button with options | |
destroy | Destroys the switch-button | |
on | Sets the switch-button to 'On' state | |
off | Sets the switch-button to 'Off' state | |
toggle | Toggles the state of the switch-button | |
enable | Enables the switch-button | |
disable | Disables the switch-button |