Window.outerHeight
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
Window.outerHeight
は読み取り専用のプロパティで、サイドバー、ウィンドウの操作部分、ウィンドウをリサイズする境界やハンドルを含む、ブラウザーウィンドウ全体の高さをピクセル単位で表します。
メモ
ウィンドウの大きさを変更するには、 window.resizeBy()
および window.resizeTo()
を使用してください。
ウィンドウの内側の高さ、つまりページが表示される高さを取得するには、 window.innerHeight
を使用してください。
図による例示
以下の図は、 outerHeight
と innerHeight
の違いを示しています。
仕様書
Specification |
---|
CSSOM View Module # dom-window-outerheight |
ブラウザーの対応
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
outerHeight |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.