MCPcopy
hub / github.com/tdewolff/minify / removeElement

Function removeElement

_benchmarks/sample_echarts.js:14458–14465  ·  view source on GitHub ↗

* Remove graphic element

(el, props, animatableModel, dataIndex, cb, during)

Source from the content-addressed store, hash-verified

14456 */
14457
14458 function removeElement(el, props, animatableModel, dataIndex, cb, during) {
14459 // Don't do remove animation twice.
14460 if (isElementRemoved(el)) {
14461 return;
14462 }
14463
14464 animateOrSetProps('remove', el, props, animatableModel, dataIndex, cb, during);
14465 }
14466
14467 function fadeOutDisplayable(el, animatableModel, dataIndex, done) {
14468 el.removeTextContent();

Callers 4

fadeOutDisplayableFunction · 0.85
sample_echarts.jsFile · 0.85
removeNodeFunction · 0.85
removeBarFunction · 0.85

Calls 2

isElementRemovedFunction · 0.85
animateOrSetPropsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…