v1.1.0
ParallaxScrollerBehavior
For most cases, when you have direct control over the scrolling container (e.g a div), you should use the parallax-element
directly (which implement this behavior and set the correct CSS classes).
When you don't have control over the scroller (e.g when using a paper-scroll-header-panel
), create a new web-component implementing ParallaxScrollerBehavior
and correctly set the scroller
property.
For a full implementation example (parallax-scrolling inside a paper-scroll-header-panel
), please take a look at this demo.