Open aquintiliano opened 7 years ago
Yeah I tried as well to change the false state bg-color but no luck even with the change of the bg-color in the component css for the span element.
You can change the false (or off) color using switchOffColor
param (no need to do anything in CSS)
For example, this will be green when on and red when off with white background.
<ui-switch color="#fff" switchColor="green" switchOffColor="red"></ui-switch>
but also we need to change defaultBgColor, please update this value with @Input decorator
First of all, congrats, it's a great and easy-to-use component.
You let we change the True state color, but I want to change the false state color as well