MCPcopy Create free account
hub / github.com/bvaughn/react-window / constructor

Method constructor

lib/utils/test/mockResizeObserver.ts:78–82  ·  view source on GitHub ↗
(callback: ResizeObserverCallback)

Source from the content-addressed store, hash-verified

76 #elements: Set<HTMLElement> = new Set();
77
78 constructor(callback: ResizeObserverCallback) {
79 this.#callback = callback;
80
81 emitter.addListener("change", this.#onChange);
82 }
83
84 observe(element: HTMLElement) {
85 if (this.#disconnected) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected