Skip to content

v3.0

Compare
Choose a tag to compare
@reneroth reneroth released this 06 May 11:43
· 45 commits to master since this release

Proudly presenting the first release after nearly 3 years!

Let's get the breaking changes out of the way first:

  • the jQuery/Zepto version has been removed, use new Parallax($('#scene').get(0)) if you need to
  • pointer events are disabled for layers by default, see the #interactivity section of the Readme for details on how to enable them
  • HTML inline attributes take priority over the initial JS parameters
  • support for old IE versions might be broken, please let me know if so and I'll try to fix it

Those were necessary to bring you these improvements and new features:

  • general repository cleanup, more readable code, nicer coding style ✨
  • a great build flow for contributors and those curious about the source code 🏗
  • with a better documentation 📝
  • lightning fast npm install process ⚡️
  • you can now actually require and/or import parallax-js 😮
  • bugfixes of course 👾
  • increased performance and compatibility, especially for mobile devices 📱
  • depth can be set independently for X and Y axis 👁
  • adjustable precision, set to the best value for both performance and optics 🎯

Let us know what you think! And a big shoutout to all contributors, thank you for making this possible 💖

Choose compiled.zip from below if you want a drag-and-drop JS file.