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

Method area

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

* The area of the rectangle.

()

Source from the content-addressed store, hash-verified

56 * The area of the rectangle.
57 */
58 get area(): number {
59 return this.width * this.height;
60 }
61
62 /**
63 * The top left corner of the rectangle.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected