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

Function checkBtnAttr

test/jasmine/tests/modebar_test.js:79–82  ·  view source on GitHub ↗
(modeBar, index, attr)

Source from the content-addressed store, hash-verified

77 }
78
79 function checkBtnAttr(modeBar, index, attr) {
80 var buttons = d3Select(modeBar.element).selectAll('button.modebar-btn, a.modebar-btn');
81 return d3Select(buttons[0][index]).attr(attr);
82 }
83
84 var buttons = [[{
85 name: 'button 1',

Callers 1

modebar_test.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…