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

Function cleanUp

core/src/utils/animation/animation.ts:118–124  ·  view source on GitHub ↗
(clearStyleSheets?: boolean)

Source from the content-addressed store, hash-verified

116 * animation's stylesheets from the DOM.
117 */
118 const cleanUp = (clearStyleSheets?: boolean) => {
119 cleanUpElements();
120
121 if (clearStyleSheets) {
122 cleanUpStyleSheets();
123 }
124 };
125
126 const resetFlags = () => {
127 shouldForceLinearEasing = false;

Callers 1

destroyFunction · 0.85

Calls 2

cleanUpElementsFunction · 0.85
cleanUpStyleSheetsFunction · 0.85

Tested by

no test coverage detected