A toggle is an animated switch which binds a given model to a boolean.
Allows dragging of the switch’s nub.
The toggle behaves like any AngularJS checkbox otherwise.
Below is an example of a toggle directive which is wired up to the
and has the
toggle-calm CSS class assigned to the inner element.
<ion-toggle ng-model="airplaneMode" toggle-class="toggle-calm">Airplane Mode</ion-toggle>
Sets the CSS class on the inner