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

Method maxX

packages/react-stately/src/virtualizer/Rect.ts:44–46  ·  view source on GitHub ↗

* The maximum x-coordinate in the rectangle.

()

Source from the content-addressed store, hash-verified

42 * The maximum x-coordinate in the rectangle.
43 */
44 get maxX(): number {
45 return this.x + this.width;
46 }
47
48 /**
49 * The maximum y-coordinate in the rectangle.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected