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

Function resetFlags

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

Source from the content-addressed store, hash-verified

124 };
125
126 const resetFlags = () => {
127 shouldForceLinearEasing = false;
128 shouldForceSyncPlayback = false;
129 shouldCalculateNumAnimations = true;
130 forceDirectionValue = undefined;
131 forceDurationValue = undefined;
132 forceDelayValue = undefined;
133 numAnimationsRunning = 0;
134 finished = false;
135 willComplete = true;
136 paused = false;
137 };
138
139 const isRunning = () => {
140 return numAnimationsRunning !== 0 && !paused;

Callers 1

stopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected