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 2021年8月.
height は VisualViewport インターフェイスの読み取り専用プロパティで、視覚的ビューポートの高さを CSS ピクセルで返します。現在の文書が完全にアクティブでない場合は、0 を返します。
値
倍精度浮動小数点型です。
仕様書
| Specification |
|---|
| CSSOM View Module> # dom-visualviewport-height> |
ブラウザーの互換性
Enable JavaScript to view this browser compatibility table.