VisualViewport: height プロパティ

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since August 2021.

We'd love to hear more about your role and the company you work for
Please help us by answering a few questions.

heightVisualViewport インターフェイスの読み取り専用プロパティで、視覚的ビューポートの高さを CSS ピクセルで返します。現在の文書が完全にアクティブでない場合は、0 を返します。

倍精度浮動小数点型です。

仕様書

Specification
CSSOM View Module
# dom-visualviewport-height

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
height

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support