MCPcopy Create free account
hub / github.com/ionic-team/ionic-framework / animationFinish

Function animationFinish

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

Source from the content-addressed store, hash-verified

609 };
610
611 const animationFinish = () => {
612 if (numAnimationsRunning === 0) {
613 return;
614 }
615
616 numAnimationsRunning--;
617
618 if (numAnimationsRunning === 0) {
619 afterAnimation();
620 if (parentAnimation) {
621 parentAnimation.animationFinish();
622 }
623 }
624 };
625
626 const initializeWebAnimation = () => {
627 elements.forEach((element) => {

Callers 3

initializeWebAnimationFunction · 0.85
playCSSAnimationsFunction · 0.85
playWebAnimationsFunction · 0.85

Calls 2

afterAnimationFunction · 0.85
animationFinishMethod · 0.80

Tested by

no test coverage detected