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

Function enableHover

src/components/modebar/manage.js:221–228  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

219
220 var enabledHoverGroup = [];
221 var enableHover = function(a) {
222 // return if already added
223 if(enabledHoverGroup.indexOf(a) !== -1) return;
224 // should be in hoverGroup
225 if(hoverGroup.indexOf(a) !== -1) {
226 enabledHoverGroup.push(a);
227 }
228 };
229 if(Array.isArray(buttonsToAdd)) {
230 var newList = [];
231 for(var i = 0; i < buttonsToAdd.length; i++) {

Callers 1

getButtonGroupsFunction · 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…