Back to Content

VisualViewport: height property

files/en-us/web/api/visualviewport/height/index.md

latest316 B
Original Source

{{APIRef("CSSOM view API")}}

The height read-only property of the {{domxref("VisualViewport")}} interface returns the height of the visual viewport, in CSS pixels, or 0 if current document is not fully active.

Value

A double.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}