Releases: diegoversiani/smooth-parallax
Releases · diegoversiani/smooth-parallax
v1.1.2
1.1.2
- Improvement: Extend public method
getScrollPercentto 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-parallaxdata-start-percent>start-movementdata-end-percent>end-movementdata-start-x>start-position-xdata-start-y>start-position-ydata-end-x>end-position-xdata-end-y>end-position-ydata-smooth-parallax-element>smooth-parallaxdata-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.