scrollmonitor-parallax
scrollmonitor-parallax copied to clipboard
A simple parallax API
RAF
heya, does (or should) this use requestAnimationFrame? the demo example is quite janky in chrome even. cheers!
This adds support for passing a callback to `add`. My use case is wanting to use this library with Vue.js where I want to use Vue to set style attributes...
Shouldn't passive support be added to the `scroll` addEventListener? ``` var browserSupportsPassive = false; if (isInBrowser) { try { var opts = Object.defineProperty({}, 'passive', { get: function() { browserSupportsPassive =...