Skip to content

v1.1.0

Compare
Choose a tag to compare
@vguillou vguillou released this 15 Nov 11:39
· 8 commits to master since this release

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.