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

Function countGroups

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

Source from the content-addressed store, hash-verified

65 }
66
67 function countGroups(modeBar) {
68 return d3Select(modeBar.element).selectAll('div.modebar-group').size();
69 }
70
71 function countButtons(modeBar) {
72 return d3Select(modeBar.element).selectAll('button.modebar-btn, a.modebar-btn').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…