Plays or reverses all animations on the given element.
It works with CSS or Web Animations.
IMPORTANT: When constructed, it resets and pauses the animations as a form of initialization.
To use with auto-widgets (HTML API) as part of a trigger specification:
<div data-lisn-on-view="@animate"></div> Copy
<div data-lisn-on-view="@animate"></div>
Static
Readonly
(Re)plays the animations forwards.
Reverses the animations from its current direction.
(Re)plays the animations backwards.
Plays or reverses all animations on the given element.
It works with CSS or Web Animations.
IMPORTANT: When constructed, it resets and pauses the animations as a form of initialization.
To use with auto-widgets (HTML API) as part of a trigger specification:
Example