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.
I've looked all over the docs and from what it seems when adding a custom range point, it must be in the format of a percentage, e.g.
"50%"
.This PR improves the type for the custom keys to ensure they match the pattern of a percentage as opposed to allowing any string such as
"50 percent"
.Please correct me if I've got this incorrect though, I just see no docs that say these custom values should be anything other than this.
Side note
When installing dependencies via
npm i
, it updatedpackage-lock.json
with the current version of this package, let me know if you want this reverting.