extends main block content .bs-docs-header .container h1 Methods .container p In Bootstrap Switch, every option is also a method. p If the second parameter is omitted, the method returns the current value. p You can invoke methods as follows: pre: code $('input[name="my-checkbox"]').bootstrapSwitch('state', true, true); h2 Additional Methods table.table.table-bordered.table-striped.table-responsive thead tr th Name th Description tbody tr td toggleState td Toggle the switch state tr td toggleAnimate td Toggle the animate option tr td toggleDisabled td Toggle the disabled state tr td toggleReadonly td Toggle the readonly state tr td toggleIndeterminate td Toggle the indeterminate state tr td toggleInverse td Toggle the inverse option tr td destroy td Destroy the instance of Bootstrap Switch h2 Special Behaviours ul li The method state can receive an optional third parameter skip. if true, switchChange event is not executed. The default is false. li The method toggleState can receive an optional second parameter skip. if true, switchChange event is not executed. The default is false. li The method wrapperClass can accept a falsy value as second parameter. If so, it resets the class to its default.