MCPcopy
hub / github.com/nilbuild/driver.js / arrowEl

Function arrowEl

tests/popover.test.ts:194–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

192 ({ top: 0, left: 0, right: 0, bottom: 0, width: 0, height: 0, x: 0, y: 0, toJSON() {}, ...over }) as DOMRect;
193
194 const arrowEl = () => document.querySelector<HTMLElement>(".driver-popover-arrow")!;
195
196 // jsdom doesn't lay anything out, so we feed both the element and the popover
197 // their boxes, then refresh to run the positioning against those boxes.

Callers 1

popover.test.tsFile · 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…