DOMRect: width property

Note: This feature is available in Web Workers.

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