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

Function fillSelectionItem

src/components/selections/select.js:1041–1052  ·  view source on GitHub ↗
(selection, searchInfo)

Source from the content-addressed store, hash-verified

1039}
1040
1041function fillSelectionItem(selection, searchInfo) {
1042 if(Array.isArray(selection)) {
1043 var cd = searchInfo.cd;
1044 var trace = searchInfo.cd[0].trace;
1045
1046 for(var i = 0; i < selection.length; i++) {
1047 selection[i] = makeEventData(selection[i], trace, cd);
1048 }
1049 }
1050
1051 return selection;
1052}
1053
1054function convertPoly(polygonsIn, isOpenMode) { // add M and L command to draft positions
1055 var polygonsOut = [];

Callers 2

selectOnClickFunction · 0.85
_doSelectFunction · 0.85

Calls 1

makeEventDataFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…