Back to Content

DOMRectReadOnly: y property

files/en-us/web/api/domrectreadonly/y/index.md

latest318 B
Original Source

{{APIRef("Geometry Interfaces")}}{{AvailableInWorkers}}

The y read-only property of the DOMRectReadOnly interface represents the y coordinate of the DOMRect's origin.

Value

A double.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{domxref("DOMRect")}}