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

Function _clickPt

test/jasmine/tests/select_test.js:222–228  ·  view source on GitHub ↗
(coords, clickOpts, immediate)

Source from the content-addressed store, hash-verified

220 }
221
222 function _clickPt(coords, clickOpts, immediate) {
223 expect(coords).toBeDefined('coords needs to be defined');
224 expect(coords.x).toBeDefined('coords.x needs to be defined');
225 expect(coords.y).toBeDefined('coords.y needs to be defined');
226
227 return _click(coords.x, coords.y, clickOpts, immediate);
228 }
229
230 /**
231 * Convenient helper to execute a click immediately.

Callers 5

_immediateClickPtFunction · 0.85
select_test.jsFile · 0.85
clickPtFunction · 0.85
clickBoxFunction · 0.85
_runFunction · 0.85

Calls 1

_clickFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…