You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anime.js simplifies all that by making sure the animation state is preserved after the animation completes
Okay, but what if I don't need it?
For example, what if I want to play animation and make sure it doesn't have any inline styles after completion? Should I use .revert() on animate and createTimeline like this https://codepen.io/Kadeluxe/pen/YPGGEPG ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Sensible defaults docs page states
Okay, but what if I don't need it?
For example, what if I want to play animation and make sure it doesn't have any inline styles after completion?
Should I use .revert() on animate and createTimeline like this https://codepen.io/Kadeluxe/pen/YPGGEPG ?
I saw here that waapi.animate has a fill property but apparently no because this doesn't work https://codepen.io/Kadeluxe/pen/emddeZa
Beta Was this translation helpful? Give feedback.
All reactions