MCPcopy
hub / github.com/apache/echarts / removeEl

Function removeEl

src/animation/universalTransition.ts:162–170  ·  view source on GitHub ↗
(el: Element)

Source from the content-addressed store, hash-verified

160 });
161}
162function removeEl(el: Element) {
163 if (el.parent) {
164 // Bake parent transform to element.
165 // So it can still have proper transform to transition after it's removed.
166 const computedTransform = el.getComputedTransform();
167 el.setLocalTransform(computedTransform);
168 el.parent.remove(el);
169 }
170}
171function stopAnimation(el: Element) {
172 el.stopAnimation();
173 if (el.isGroup) {

Callers 2

updateOneToOneFunction · 0.70
transitionBetweenFunction · 0.70

Calls 1

removeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…