MCPcopy Create free account
hub / github.com/radix-ui/primitives / constructor

Method constructor

scripts/setup-tests.ts:9–11  ·  view source on GitHub ↗
(cb: any)

Source from the content-addressed store, hash-verified

7global.ResizeObserver = class ResizeObserver {
8 cb: any;
9 constructor(cb: any) {
10 this.cb = cb;
11 }
12 observe() {
13 this.cb([{ borderBoxSize: { inlineSize: 0, blockSize: 0 } }]);
14 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected