Class: BootstrapToggle

BootstrapToggle

Templates a bootstrap toggle

Constructor

new BootstrapToggle(optionsopt)

Constructor. The input has to be put inside a container element for it to be able to move around after initialization
Parameters:
Name Type Attributes Description
options object <optional>
Properties
Name Type Attributes Description
struct object <optional>
Properties
Name Type Attributes Default Description
$container string <optional>
".toggle" an element to contain the toggle
$wrapper string <optional>
"$wrapper" the element
toggleOptions object <optional>
bootstrapToggle options
name string <optional>
name of the
Source:

Extends

  • Template