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

Function moveArrowTail

test/jasmine/tests/gl3d_plot_interact_test.js:1869–1881  ·  view source on GitHub ↗
(dx, dy, expectation)

Source from the content-addressed store, hash-verified

1867 }
1868
1869 function moveArrowTail(dx, dy, expectation) {
1870 var px = 243;
1871 var py = 150;
1872
1873 return new Promise(function(resolve) {
1874 gd.once('plotly_relayout', function(eventData) {
1875 expect(eventData).toEqual(expectation);
1876 resolve();
1877 });
1878
1879 drag({pos0: [px, py], dpos: [dx, dy], noCover: true});
1880 });
1881 }
1882
1883 Plotly.newPlot(gd, [{
1884 type: 'scatter3d',

Callers 1

Calls 1

dragFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…