MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / stopElementEffects

Method stopElementEffects

tools/common/_hyperscript.iife.js:3356–3363  ·  view source on GitHub ↗

Stop all reactive effects owned by an element.

(element)

Source from the content-addressed store, hash-verified

3354 }
3355 /** Stop all reactive effects owned by an element. */
3356 stopElementEffects(element) {
3357 var data = element._hyperscript;
3358 if (!data || !data.effects) return;
3359 for (var effect of data.effects) {
3360 effect.stop();
3361 }
3362 delete data.effects;
3363 }
3364 };
3365
3366 // src/core/runtime/morph.js

Callers 1

cleanupMethod · 0.45

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected