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

Function _drag

test/jasmine/tests/polar_test.js:872–875  ·  view source on GitHub ↗
(p0, dp)

Source from the content-addressed store, hash-verified

870 var resetNumber = 0;
871
872 function _drag(p0, dp) {
873 var node = d3Select('.polar > .draglayer > .maindrag').node();
874 return drag({node: node, dpos: dp, pos0: p0});
875 }
876
877 function _assertRange(rng, msg) {
878 expect(gd._fullLayout.polar.radialaxis.range).toBeCloseToArray(rng, 1, msg);

Callers 1

polar_test.jsFile · 0.70

Calls 2

dragFunction · 0.70
_getLocalPosFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…