Skip to content
Discussion options

You must be logged in to vote

From my perspective, everything you mentioned is already supported.

Did you already had a chance to check out the CodePen <range-slider> collection?
There is a basic dual thumb example which is reflecting value changes to an output element.

To set/sync or react to value changes you can use regular web APIs. The <range-slider> element itself behaves like a native <input> element e.g.

const rangeSlider = document.querySelector('range-slider');

Programmatically updating the value:

rangeSlider.value = newValue;

React to value changes using the input or change event

// The `input` event gets dispatched on pointer move when the value changed
rangeSlider.addEventListener('input', callback);

// …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andreruffert
Comment options

Answer selected by SalahAdDin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #170 on June 15, 2025 13:23.