MDN self-hosted library · e01.org

DOMRectReadOnly: x property

Geometry Interfaces

no runnable cells web-api-instance-property upstream source

Geometry Interfaces

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

Value

A double.

Specifications

Browser compatibility

See also

  • DOMRect