Hacker News new | ask | show | jobs
by echoangle 556 days ago
Very cool, I always used the jQuery UI slider when I needed a range input, which forced me to add jQuery and jQuery UI to my page, just for a single slider. This is very nice!

Edit: is there a chance to get a premade plain JS file to use, instead of an ESM module?

1 comments

You can grab this and then remove the "export default" line at the end.

https://cdn.jsdelivr.net/npm/@stanko/dual-range-input@0.9.8/...

Don't forget the CSS

https://cdn.jsdelivr.net/npm/@stanko/dual-range-input@0.9.8/...