You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -28,7 +28,7 @@ The directive can work on both element and attribute levels. The following examp
28
28
Short doc for all of the attributes:
29
29
30
30
*`ng-model`, the value to bind the switch to
31
-
*`switch-type`, can be `chechbox` (default) or `radio`
31
+
*`switch-type`, can be `chechbox` (default) or `radio`. This value must be a string, as it cannot be changed once set (see [this answer on StackOverflow](http://stackoverflow.com/a/15155407/801065)).
32
32
*`switch-active`, determines if the switch is enabled or not
33
33
*`switch-size`, can be the empty string as default, `mini`, `small`, `large`
34
34
*`switch-animate`, determines if the switch animates when toggled
@@ -40,7 +40,7 @@ Short doc for all of the attributes:
40
40
*`switch-off`, sets the positive (checked) class, can be `default` (as default), `primary`, `info`, `success`, `warning`, `danger`
41
41
42
42
###Examples
43
-
TODO
43
+
The `example` folder shows a simple working demo of the switch.
0 commit comments