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
@@ -48,6 +48,7 @@ Use:
48
48
| color |[String, Object]|`#75C791`| If `String` - color of the button when checked <br>If `Object` - colors for the button when checked/uncheked <br>Example: `{checked: '#00FF00', unchecked: '#FF0000'}`|
49
49
| cssColors | Boolean | false | If `true` - deactivates the setting of colors through inline styles in favor of using CSS styling |
50
50
| labels |[Boolean, Object]| false | If `Boolean` - shows/hides default labels ("on" and "off") <br>If `Object` - sets custom labels for both states. <br>Example: `{checked: 'Foo', unchecked: 'Bar'}`|
51
+
| buttonColor |[String, Object]|`#BFCBD9`| If `String` - color of the switch when checked <br>If `Object` - colors for the switch when checked/uncheked <br>Example: `{checked: '#25EF02', unchecked: '#EF1E02'}`|
51
52
| width | Number | 50 | Width of the button, default is 50 |
52
53
| height | Number | 22 | Height of the button, default is 22 |
0 commit comments