parallax v1.1.0 Release Notes
Release Date: 2014-04-20 // about 10 years ago-
- Updated mouse input to always be relative to the window rather than the page using
event.client[X|Y]
rather thanevent.page[X|Y]
. - ➕ Added
relativeInput
behaviour to switch the mouse input coordinate system to theelement
passed to the Parallax constructor. See README for details. - ➕ Added
clipRelativeInput
behaviour to limit the mouse input influence to the bounds of theelement
passed to the Parallax constructor. See README for details. - Created a new example: relative.html to demonstrate this new functionality.
- Updated mouse input to always be relative to the window rather than the page using