MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / resetAnimation

Function resetAnimation

core/src/utils/animation/animation.ts:822–827  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

820 };
821
822 const resetAnimation = () => {
823 if (supportsWebAnimations) {
824 setAnimationStep(0);
825 updateWebAnimation();
826 }
827 };
828
829 const play = (opts?: AnimationPlayOptions) => {
830 return new Promise<void>((resolve) => {

Callers 1

playFunction · 0.85

Calls 2

setAnimationStepFunction · 0.85
updateWebAnimationFunction · 0.85

Tested by

no test coverage detected