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

Function cleanUpElements

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

Source from the content-addressed store, hash-verified

189 * the animation's elements.
190 */
191 const cleanUpElements = () => {
192 if (supportsWebAnimations) {
193 webAnimations.forEach((animation) => {
194 animation.cancel();
195 });
196
197 webAnimations.length = 0;
198 }
199 };
200
201 /**
202 * Removes the animation's stylesheets

Callers 2

cleanUpFunction · 0.85
stopFunction · 0.85

Calls 1

cancelMethod · 0.45

Tested by

no test coverage detected