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

Function updateButtons

test/runTest/runtime/main.js:218–222  ·  view source on GitHub ↗
(buttons)

Source from the content-addressed store, hash-verified

216 box.classList.remove('button-' + event.which);
217 }, true);
218 function updateButtons(buttons) {
219 for (let i = 0; i < 5; i++) {
220 box.classList.toggle('button-' + i, buttons & (1 << i));
221 }
222 }
223});

Callers 1

main.jsFile · 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…