Skip to content

Commit 5b5e6a1

Browse files
committed
changes in readme and package.json
1 parent 7691100 commit 5b5e6a1

File tree

4 files changed

+8503
-5928
lines changed

4 files changed

+8503
-5928
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ import { NgToggleModule } from 'ng-toogle';
2525
| speed | `number` | `300` | Transition time for the animation |
2626
| disabled | `boolean` | `false` | Button does not react on mouse events |
2727
| 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 &#124; 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 &#124; 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'}` |
3030
| width | `number` | `50` | Width of the button |
3131
| height | `number` | `22` | Height of the button |
3232
| margin | `number` | `3` | Space between the switch and background border |
3333
| name | `string` | `undefined` | Name to attach to the generated input field |
3434
| 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 &#124; Object` | `10` | If `string` - color when checked <br>If `Object` - colors for labels when checked/uncheked <br>Example: `{checked: '#25EF02', unchecked: '#35DB15'}` |
3636

3737
### Outputs events
3838

0 commit comments

Comments
 (0)