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

Function relayoutCallback

src/plots/gl3d/scene.js:235–241  ·  view source on GitHub ↗
(scene)

Source from the content-addressed store, hash-verified

233 };
234
235 var relayoutCallback = function(scene) {
236 if(scene.fullSceneLayout.dragmode === false) return;
237
238 var update = makeUpdate();
239 scene.saveLayout(layout);
240 scene.graphDiv.emit('plotly_relayout', update);
241 };
242
243 if(scene.glplot.canvas) {
244 scene.glplot.canvas.addEventListener('mouseup', function() {

Callers 3

assertEventFunction · 0.85
assertEventFunction · 0.85
scene.jsFile · 0.85

Calls 1

makeUpdateFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…