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

Function select

test/jasmine/tests/scattergl_select_test.js:49–55  ·  view source on GitHub ↗
(gd, path)

Source from the content-addressed store, hash-verified

47}
48
49function select(gd, path) {
50 return new Promise(function(resolve, reject) {
51 gd.once('plotly_selected', resolve);
52 setTimeout(function() { reject('did not trigger *plotly_selected*');}, 200);
53 drag(gd, path);
54 });
55}
56
57describe('Test gl2d lasso/select:', function() {
58 var gd;

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…