MCPcopy Index your code
hub / github.com/leeoniya/uPlot / setSelect

Function setSelect

src/uPlot.js:2418–2429  ·  view source on GitHub ↗
(opts, _fire)

Source from the content-addressed store, hash-verified

2416 const selectDiv = select.show ? placeDiv(SELECT, select.over ? over : under) : null;
2417
2418 function setSelect(opts, _fire) {
2419 if (select.show) {
2420 for (let prop in opts) {
2421 select[prop] = opts[prop];
2422
2423 if (prop in _hideProps)
2424 setStylePx(selectDiv, prop, opts[prop]);
2425 }
2426
2427 _fire !== false && fire("setSelect");
2428 }
2429 }
2430
2431 self.setSelect = setSelect;
2432

Callers 3

_commitFunction · 0.85
hideSelectFunction · 0.85
mouseUpFunction · 0.85

Calls 2

setStylePxFunction · 0.90
fireFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…