Back to Content

DOMRectReadOnly: width property

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

latest306 B
Original Source

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

The width read-only property of the DOMRectReadOnly interface represents the width of the DOMRect.

Value

A double.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{domxref("DOMRect")}}