Perspective Slider, handle color

I would like to change the color of the slider handle. (perspective v8.0.16)

If I change the ‘handleColor’ property it only changes the border of the handle. Is it possible to change the background color of the handle too? Ideally I’d like to be able to set the enabled and disabled colors. Similar to the checkbox.

1 Like

May be I’m wrong but try to change the color in your theme.css file for the sliders. Unfortunately it change all the sliders.

That might work but, I was thinking about changing the handle color as an indicator based on the current state of the process. So I would like to be able to have the color bound to a tag.

As far as I know there is no built-in functionality for that. The two official props for controlling the color on a slider are handleColor and trackColor

Here is the official Slider Documentation for quick reference.

-Ethan S.

Thanks, I might just have to use the combination of the trackColor and the handle border color (handleColor) as indicators. The only problem I can foresee is when the value is zero, the track bar is not visible, so the handle border will be the only color indicator.