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
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,7 @@ Use
58
58
| name |`string`|`undefined`| Name to attach to the generated input field |
59
59
| fontSize |`number`|`10`| Font size in pixels |
60
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.|
61
+
| values |`{checked: any, unchecked: any}`|`{checked: true, unchecked: false}`| Values for checked and unchecked states, by default checked value is `true` and unchecked value is `false` <br>Example: `{checked: 1, unchecked: 0}`.|
Copy file name to clipboardExpand all lines: projects/ng-toggle/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,7 @@ Use
58
58
| name |`string`|`undefined`| Name to attach to the generated input field |
59
59
| fontSize |`number`|`10`| Font size in pixels |
60
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.|
61
+
| values |`{checked: any, unchecked: any}`|`{checked: true, unchecked: false}`| Values for checked and unchecked states, by default checked value is `true` and unchecked value is `false` <br>Example: `{checked: 1, unchecked: 0}`.|
0 commit comments