Описание тега bootstrap-switch
Bootstrap switch is a twitter bootstrap plugin, that turns checkboxes and radio buttons into toggle switches.
Bootstrap switch is a twitter bootstrap plugin, that turns checkboxes and radio buttons into toggle switches. The use of bootstrap switch is straight forward bootstrap-like:
<input type="checkbox" name="my-checkbox" checked>
$("[name='my-checkbox']").bootstrapSwitch();
Bootstrap switch supports features such as toggle animation, different colors and text for different states (on, off, indeterminate) and events for detecting user input.