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

Function initializeAnimation

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

Source from the content-addressed store, hash-verified

648 };
649
650 const initializeAnimation = () => {
651 beforeAnimation();
652
653 if (_keyframes.length > 0) {
654 if (supportsWebAnimations) {
655 initializeWebAnimation();
656 }
657 }
658
659 initialized = true;
660 };
661
662 const setAnimationStep = (step: number) => {
663 step = Math.min(Math.max(step, 0), 0.9999);

Callers 2

progressStartFunction · 0.85
playFunction · 0.85

Calls 2

beforeAnimationFunction · 0.85
initializeWebAnimationFunction · 0.85

Tested by

no test coverage detected