leongersen / noUiSlider

noUiSlider is a lightweight, ARIA-accessible JavaScript range slider with multi-touch and keyboard support. It is fully GPU animated: no reflows, so it is fast; even on older devices. It also fits wonderfully in responsive designs and has no dependencies.
https://refreshless.com/nouislider/
MIT License
5.64k stars 658 forks source link

Double-sided tooltip #1200

Closed xeruf closed 2 years ago

xeruf commented 2 years ago

Hey, I would like a very minimal slider that essentially shows tooltips on two sides rather than pips. Can this be sensibly implemented by offsetting the existing tooltip, or do you have a suggestion what to do here?

4f391940-50e4-4913-9fbe-12524a25749a

leongersen commented 2 years ago

It's probably easiest to add a html element to the slider handle, and set its values in the update event. That's how the build-in tooltips work, too.

github-actions[bot] commented 1 year ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.