Skip to content

Commit c5dc6d6

Browse files
committed
changes in the demo page and update readme
1 parent f2aa487 commit c5dc6d6

File tree

9 files changed

+539
-1842
lines changed

9 files changed

+539
-1842
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# AngularToggleButton
33

4-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.0.2.
4+
This is a toggle switch button component, you can see the demo [here](https://vicmans.com/demos/ng-toggle-button) and test it in [StackBlitz](https://stackblitz.com/edit/ng-toggle-button).
55

66
## Instalation
77

@@ -57,7 +57,7 @@ Use
5757
| margin | `number` | `3` | Space between the switch and background border |
5858
| name | `string` | `undefined` | Name to attach to the generated input field |
5959
| fontSize | `number` | `10` | Font size in pixels |
60-
| fontCize | `string Object` | `10` | If `string` - color when checked <br>If `Object` - colors for labels when checked/uncheked <br>Example: `{checked: '#25EF02', unchecked: '#35DB15'}` |
60+
| fontColor | `string Object` | `undefined` | If `string` - color when checked <br>If `Object` - colors for labels when checked/uncheked <br>Example: `{checked: '#25EF02', unchecked: '#35DB15'}` by default the text color is white.|
6161

6262
### Outputs events
6363

0 commit comments

Comments
 (0)