Releases: callmecavs/jump.js
Releases · callmecavs/jump.js
v1.0.2
v1.0.1
- Abstracted the target element offset calculation, to keep the code DRY
- Optimized the
getBoundingClientRect
adjustment, by using thestart
position, rather than calling for the scroll location again
v1.0.0
Jump 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:
- Utilizing the singleton pattern - @mgiulio, and his SitePoint article referencing the library
- Adding accessibility support - @Heydon, who explained how to implement it here
Thanks to everyone involved in making this library the success that it is, especially those that have contributed.
v0.4.0
Change license back to MIT.
v0.3.2
Change license to GPL-3.0.
v0.3.1
Lock devDependencies
versions.
v0.3.0
duration
option can now accept a function that:- accepts the jump distance, in
px
, as a parameter, and - returns the duration in milliseconds (h/t @TimPetricola)
- accepts the jump distance, in
- unnecessary default value for
callback
option removed
v0.2.1
Small tweaks to README.
v0.2.0
- Added
easing
option (h/t @TimPetricola) - Small tweaks to README language
v0.1.3
Added a demo page!