v3.1 is here, featuring a vastly improved Readme and finally working npm releases again! That's right, you can now just do npm install parallax-js
and be up-to-date again 🎆
Additionally, I have those features for you:
- Breaking: added selector option, now by default all child elements of the scene will become layers, see Readme on how to restore legacy behaviour
- added hoverOnly option
- added inputElement option
- fixed bug when using deviceMotion events
- polyfilled Object.assign for IE compatibility
- added ready callback
- added destroy method
- some slight performance improvements