MCPcopy Create free account
hub / github.com/bvaughn/react-virtualized / getBoundingBox

Function getBoundingBox

lib/utils/scrollElement/dimensions.ts:21–21  ·  view source on GitHub ↗
(element: Element)

Source from the content-addressed store, hash-verified

19 element === window;
20
21const getBoundingBox = (element: Element) => element.getBoundingClientRect();
22
23export function getDimensions(
24 scrollElement: ResolvedScrollElement

Callers 2

getDimensionsFunction · 0.85
getPositionOffsetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected