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

Function getLeftOffset

src/components/fx/hover.js:2548–2548  ·  view source on GitHub ↗
(gd)

Source from the content-addressed store, hash-verified

2546// the offset parent, whatever that may be.
2547const getTopOffset = (gd) => gd.offsetTop + gd.clientTop;
2548const getLeftOffset = (gd) => gd.offsetLeft + gd.clientLeft;
2549
2550function getBoundingClientRect(gd, node) {
2551 var fullLayout = gd._fullLayout;

Callers 2

hover.jsFile · 0.85
_hoverFunction · 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…