@@include('../layouts/head-page-meta.html', {'title': 'Bootstrap Switch'}) @@include('../layouts/head-css.html')
@@include('../layouts/layout-vertical.html')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 |