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

Function updateWebAnimation

core/src/utils/animation/animation.ts:673–688  ·  view source on GitHub ↗
(step?: number)

Source from the content-addressed store, hash-verified

671 };
672
673 const updateWebAnimation = (step?: number) => {
674 webAnimations.forEach((animation) => {
675 animation.effect!.updateTiming({
676 delay: getDelay(),
677 duration: getDuration(),
678 easing: getEasing(),
679 iterations: getIterations(),
680 fill: getFill(),
681 direction: getDirection(),
682 });
683 });
684
685 if (step !== undefined) {
686 setAnimationStep(step);
687 }
688 };
689
690 const update = (deep = false, toggleAnimationName = true, step?: number) => {
691 if (deep) {

Callers 2

updateFunction · 0.85
resetAnimationFunction · 0.85

Calls 7

getDelayFunction · 0.85
getDurationFunction · 0.85
getEasingFunction · 0.85
getIterationsFunction · 0.85
getFillFunction · 0.85
setAnimationStepFunction · 0.85
getDirectionFunction · 0.70

Tested by

no test coverage detected