MCPcopy Index your code
hub / github.com/apache/echarts / isElementRemoved

Function isElementRemoved

src/animation/basicTransition.ts:256–267  ·  view source on GitHub ↗
(el: Element)

Source from the content-addressed store, hash-verified

254 * It can determine if element is having remove animation.
255 */
256 export function isElementRemoved(el: Element) {
257 if (!el.__zr) {
258 return true;
259 }
260 for (let i = 0; i < el.animators.length; i++) {
261 const animator = el.animators[i];
262 if (animator.scope === 'leave') {
263 return true;
264 }
265 }
266 return false;
267}
268
269/**
270 * Remove graphic element

Callers 2

_animateLabelsMethod · 0.85
removeElementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…