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

Function emitSelected

src/components/selections/select.js:1562–1568  ·  view source on GitHub ↗
(gd, eventData)

Source from the content-addressed store, hash-verified

1560}
1561
1562function emitSelected(gd, eventData) {
1563 if(eventData) {
1564 eventData.selections = (gd.layout || {}).selections || [];
1565 }
1566
1567 gd.emit('plotly_selected', eventData);
1568}
1569
1570function emitDeselect(gd) {
1571 gd.emit('plotly_deselect', null);

Callers 3

prepSelectFunction · 0.85
selectOnClickFunction · 0.85
reselectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…