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

Function setRunning

test/lib/testHelper.js:2162–2170  ·  view source on GitHub ↗
(nextRunning)

Source from the content-addressed store, hash-verified

2160 }
2161
2162 function setRunning(nextRunning) {
2163 if (!_running && nextRunning) {
2164 addOrRemoveMask(false);
2165 }
2166 else if (_running && !nextRunning) {
2167 addOrRemoveMask(true);
2168 }
2169 _running = nextRunning;
2170 }
2171
2172 function nextFrame() {
2173 opt.onFrame && opt.onFrame(_frameNumber);

Callers 3

runFunction · 0.85
pauseFunction · 0.85
nextFrameFunction · 0.85

Calls 1

addOrRemoveMaskFunction · 0.85

Tested by

no test coverage detected