MCPcopy Index your code
hub / github.com/plotly/plotly.js / checkActiveButton

Function checkActiveButton

test/jasmine/tests/range_selector_test.js:480–484  ·  view source on GitHub ↗
(activeIndex, msg)

Source from the content-addressed store, hash-verified

478 }
479
480 function checkActiveButton(activeIndex, msg) {
481 d3SelectAll('.button').each(function(d, i) {
482 expect(d._isActive).toBe(activeIndex === i, msg + ': button #' + i);
483 });
484 }
485
486 function checkButtonColor(bgColor, activeColor) {
487 d3SelectAll('.button').each(function(d) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…