MCPcopy Create free account
hub / github.com/adobe/react-spectrum / constructor

Method constructor

packages/react-stately/src/virtualizer/Point.ts:20–23  ·  view source on GitHub ↗
(x = 0, y = 0)

Source from the content-addressed store, hash-verified

18 y: number;
19
20 constructor(x = 0, y = 0) {
21 this.x = x;
22 this.y = y;
23 }
24
25 /**
26 * Returns a copy of this point.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected