rangeslider-js
Simple, fast and lightweight slider, touch friendly
- v1 was based on rangeslider.js, main differences:
- no jQuery
- raf to throttle window resize, transform to set the handle position
- fewer and only basic styles
- no vertical mode
Install
npm i rangeslider-js --save
Usage
// single, options via js rangesliderJs // or single, options via html attributes rangesliderJs // or initialize multiplerangesliderJs
Options
min: 0 max: 100 value: 50 step: 1 // callbacks {} {} {} {}
Events
Contribute or Report Issue
Pull requests should target the develop branch.
For bugs and feature requests, please create an issue.
Licence
MIT, see LICENSE.md for details.