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
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,14 +25,14 @@ import { NgToggleModule } from 'ng-toogle';
25
25
| speed |`number`|`300`| Transition time for the animation |
26
26
| disabled |`boolean`|`false`| Button does not react on mouse events |
27
27
| color |`string`|`#0099CC`| If `String` - color of the button when checked <br>If `Object` - colors for the button when checked/unchecked or disabled<br>Example: `{checked: '#00FF00', unchecked: '#FF0000', disabled: '#CCCCCC'}`|
28
-
| labels |`boolean,Object`|`false`| If `boolean` - shows/hides default labels <br>If `Object` - sets custom labels for both states. <br>Example: `{checked: 'Foo', unchecked: 'Bar'}`|
29
-
| switchColor |`string,Object`|`#fff`| If `string` - color or background property of the switch when checked <br>If `Object` - colors or background property for the switch when checked/uncheked <br>Example: `{checked: '#25EF02', unchecked: 'silver'}`|
28
+
| labels |`boolean | Object`|`false`| If `boolean` - shows/hides default labels <br>If `Object` - sets custom labels for both states. <br>Example: `{checked: 'Foo', unchecked: 'Bar'}`|
29
+
| switchColor |`string | Object`|`#fff`| If `string` - color or background property of the switch when checked <br>If `Object` - colors or background property for the switch when checked/uncheked <br>Example: `{checked: '#25EF02', unchecked: 'silver'}`|
30
30
| width |`number`|`50`| Width of the button |
31
31
| height |`number`|`22`| Height of the button |
32
32
| margin |`number`|`3`| Space between the switch and background border |
33
33
| name |`string`|`undefined`| Name to attach to the generated input field |
34
34
| fontSize |`number`|`10`| Font size in pixels |
35
-
| fontCize |`string, Object`|`10`| If `string` - color when checked <br>If `Object` - colors for labels when checked/uncheked <br>Example: `{checked: '#25EF02', unchecked: '#35DB15'}`|
35
+
| fontCize |`string | Object`|`10`| If `string` - color when checked <br>If `Object` - colors for labels when checked/uncheked <br>Example: `{checked: '#25EF02', unchecked: '#35DB15'}`|
0 commit comments