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

Function makeSliderData

src/components/sliders/draw.js:99–111  ·  view source on GitHub ↗
(fullLayout, gd)

Source from the content-addressed store, hash-verified

97
98// This really only just filters by visibility:
99function makeSliderData(fullLayout, gd) {
100 var contOpts = fullLayout[constants.name];
101 var sliderData = [];
102
103 for(var i = 0; i < contOpts.length; i++) {
104 var item = contOpts[i];
105 if(!item.visible) continue;
106 item._gd = gd;
107 sliderData.push(item);
108 }
109
110 return sliderData;
111}
112
113// This is set in the defaults step:
114function keyFunction(opts) {

Callers 1

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