MCPcopy
hub / github.com/plotly/plotly.js / doDrag

Function doDrag

test/jasmine/tests/cartesian_interact_test.js:320–325  ·  view source on GitHub ↗
(subplot, directions, dx, dy, nsteps)

Source from the content-addressed store, hash-verified

318 }
319
320 function doDrag(subplot, directions, dx, dy, nsteps) {
321 return function() {
322 var dragger = getDragger(subplot, directions);
323 return drag({node: dragger, dpos: [dx, dy], nsteps: nsteps});
324 };
325 }
326
327 function doDblClick(subplot, directions) {
328 return function() {

Callers 1

Calls 2

getDraggerFunction · 0.85
dragFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…