Skip to content
New issue

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

Change backgroup irs-line dinamic #787

Open
marcelod opened this issue May 10, 2023 · 1 comment
Open

Change backgroup irs-line dinamic #787

marcelod opened this issue May 10, 2023 · 1 comment
Assignees
Labels
Help wanted Person asking for help

Comments

@marcelod
Copy link

Hello everyone, what I need is for the backgroud color to be displayed according to the selection.
For example, if I'm at 20, only red should be displayed, if I'm at 50, red and orange and so on.

Here's a start of what I tried to do.

https://jsfiddle.net/Lakovf9q/

@marcelod marcelod added the Help wanted Person asking for help label May 10, 2023
@amx-itg
Copy link

amx-itg commented Nov 28, 2023

I would look at using the onChange function to look at the current value, and then update the CSS to match what your expecting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help wanted Person asking for help
Projects
None yet
Development

No branches or pull requests

3 participants