MDN self-hosted library · e01.org

DOMRect: width property

Geometry Interfaces

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

Geometry Interfaces

The width property of the DOMRect interface represents the width of the rectangle. The value can be negative.

Value

A double.

Specifications

Browser compatibility

See also

  • DOMRectReadOnly