We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
You can change the false (or off) color using switchOffColor param (no need to do anything in CSS)
switchOffColor
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
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: