A modern smooth scrolling library.
Patch:
dist
files, via new build systemgetBoundingClientRect
adjustment, by using the start
position, rather than calling for the scroll location againJump has reached its first major version! This version features a complete rewrite, and includes changes frequently requested by the user base.
The source is thoroughly commented, and the README explains all new options. The largest changes, and credit to those that influenced them, are highlighted below:
Thanks to everyone involved in making this library the success that it is, especially those that have contributed.
Change license back to MIT.
Change license to GPL-3.0.
Lock devDependencies
versions.
duration
option can now accept a function that:
px
, as a parameter, andcallback
option removedSmall tweaks to README.
easing
option (h/t @TimPetricola)Added a demo page!