ion.rangeSlider icon indicating copy to clipboard operation
ion.rangeSlider copied to clipboard

Change backgroup irs-line dinamic

Open marcelod opened this issue 2 years ago • 1 comments

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 avatar May 10 '23 12:05 marcelod

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

amx-itg avatar Nov 28 '23 17:11 amx-itg