--- title: Window.visualViewport slug: Web/API/Window/visualViewport translation_of: Web/API/Window/visualViewport --- <p>{{SeeCompatTable}}{{APIRef("Visual Viewport")}}</p> <p>{{domxref("Window")}}インターフェイスの<strong><code>visualViewport</code></strong> は読み取り専用プロパティーです。 特定のウィンドウの視覚的ビューポートを表す{{domxref("VisualViewport")}}オブジェクトを返します。</p> <h2 id="構文">構文</h2> <pre class="syntaxbox notranslate">var <em>visualViewport</em> = Window.visualViewport</pre> <h3 id="値">値</h3> <p>{{domxref("VisualViewport")}} はオブジェクトです。</p> <h2 id="仕様">仕様</h2> <table class="standard-table"> <tbody> <tr> <th scope="col">Specification</th> <th scope="col">Status</th> <th scope="col">Comment</th> </tr> <tr> <td>{{SpecName('Visual Viewport','#dom-window-visualviewport','visualViewport')}}</td> <td>{{Spec2('Visual Viewport')}}</td> <td>Initial definition.</td> </tr> </tbody> </table> <h2 id="ブラウザーの互換性">ブラウザーの互換性</h2> <p>{{Compat("api.Window.visualViewport")}}</p>