Property | Attribute | Description | Type | Default |
---|---|---|---|---|
playthrough |
playthrough |
If true it's only playing the animation, while if it's false the animation follows the scroll progression. |
boolean |
false |
speed |
speed |
the speed of the animation | number |
1 |
src |
src |
data JSON location | string |
'' |
Event | Description | Type |
---|---|---|
onAnimationStart |
triggered when the scroll position enters the active area | CustomEvent<void> |
onAnimationStop |
triggered when the scroll position leaves the active area (in playthrough mode when the animation goes out at the bottom of the viewport). | CustomEvent<void> |
Built with StencilJS