Back to Content

DOMRectReadOnly: left property

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

latest386 B
Original Source

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

The left read-only property of the DOMRectReadOnly interface returns the left coordinate value of the DOMRect. (Has the same value as x, or x + width if width is negative.)

Value

A double.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{domxref("DOMRect")}}