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

Function get

lib/utils/test/mockResizeObserver.ts:30–32  ·  view source on GitHub ↗
(this: HTMLElement)

Source from the content-addressed store, hash-verified

28 Object.defineProperty(HTMLElement.prototype, "offsetHeight", {
29 configurable: true,
30 get(this: HTMLElement) {
31 return elementSizes.get(this)?.height ?? 0;
32 }
33 });
34 Object.defineProperty(HTMLElement.prototype, "offsetWidth", {
35 configurable: true,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected