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

Function countButtons

test/jasmine/tests/modebar_test.js:71–73  ·  view source on GitHub ↗
(modeBar)

Source from the content-addressed store, hash-verified

69 }
70
71 function countButtons(modeBar) {
72 return d3Select(modeBar.element).selectAll('button.modebar-btn, a.modebar-btn').size();
73 }
74
75 function countLogo(modeBar) {
76 return d3Select(modeBar.element).selectAll('a.plotlyjsicon').size();

Callers 2

modebar_test.jsFile · 0.85
checkButtonsFunction · 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…