MCPcopy Create free account
hub / github.com/apache/echarts / addOrRemoveMask

Function addOrRemoveMask

test/lib/testHelper.js:2191–2201  ·  view source on GitHub ↗
(addOrRemove)

Source from the content-addressed store, hash-verified

2189 }
2190
2191 function addOrRemoveMask(addOrRemove) {
2192 if (addOrRemove && !_mask) {
2193 _mask = document.createElement('div');
2194 _mask.className = 'control-frame-mask';
2195 document.body.appendChild(_mask);
2196 }
2197 else if (!addOrRemove && _mask) {
2198 document.body.removeChild(_mask);
2199 _mask = null;
2200 }
2201 }
2202 }; // End of `controlFrame`
2203
2204 /**

Callers 1

setRunningFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected