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

Function hasActiveShape

src/components/selections/select.js:712–714  ·  view source on GitHub ↗
(gd)

Source from the content-addressed store, hash-verified

710}
711
712function hasActiveShape(gd) {
713 return gd._fullLayout._activeShapeIndex >= 0;
714}
715
716function hasActiveSelection(gd) {
717 return gd._fullLayout._activeSelectionIndex >= 0;

Callers 1

clearSelectionsCacheFunction · 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…