Style of the off toggle. This color can be changed by manipulating the custom-control-input class. Apply … The bootstrapToggle () method enables the toggling of the switch. Compatible browsers: Chrome, Edge, Firefox, Opera, Safari. Bootstrap snippets. Bootstrap Toggle Switch. Log in to your account or We will create the boilerplate code for our onstyle: string "primary" ... Bootstrap Toggle Switches. Bootstrap 2.3.2 Bootstrap 3.2.0 jQuery Mobile 1.4.2 Framework