Releases: diegoversiani/smooth-parallax
Releases · diegoversiani/smooth-parallax
v1.1.2
1.1.2
- Improvement: Extend public method
getScrollPercent
to return scroll percentage for elements. - Fix: issue calculating element's size for SVG on Firefox
- Fix: position calculation to 2 decimals precision for better performance.
- Fix: scroll percent calculation based on
containerSize
.
v1.1.1
1.1.1
- Fix npm package.json info.
V1.1.0
Upgrade Notice: This version changes how Smooth Parallax is initiated and how the elements options are set.
- Converted script into a javascript plugin.
- Renamed html attributes:
data-smooth-parallax-element
>smooth-parallax
data-start-percent
>start-movement
data-end-percent
>end-movement
data-start-x
>start-position-x
data-start-y
>start-position-y
data-end-x
>end-position-x
data-end-y
>end-position-y
data-smooth-parallax-element
>smooth-parallax
data-container-id
>container
.
- Changed element option container expected value to be a valid css selector instead of element id.
- Added element option base-size.
- Added global option pageScroll.
v1.0.0
Initial release.