aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/window/outerwidth/index.html
blob: aabd340808f51d19d5ab2507a9a048496b0c8367 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
title: Window.outerWidth
slug: Web/API/Window/outerWidth
tags:
  - API
  - CSSOM View
  - NeedsContent
  - Property
  - Reference
  - outerWidth
translation_of: Web/API/Window/outerWidth
---
<div>{{APIRef}}</div>

<p><strong><code>Window.outerWidth</code></strong> は読み取り専用のプロパティで、ブラウザーウィンドウの外側の幅を返します。これはサイドバー (展開されている場合)、ウィンドウの操作部分、ウィンドウをリサイズする境界やハンドルを含む、ブラウザーウィンドウ全体の幅を表します。</p>

<h2 id="Notes" name="Notes">メモ</h2>

<p>ウィンドウの大きさを変更するには、 {{domxref("window.resizeBy()")}} および {{domxref("window.resizeTo()")}} を参照してください。</p>

<p>ウィンドウの内側の幅、つまりページが表示される幅を取得するには、 {{domxref("window.innerWidth")}} を参照してください。</p>

<h2 id="Specifications" name="Specifications">仕様書</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">仕様書</th>
   <th scope="col">状態</th>
   <th scope="col">備考</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{ SpecName('CSSOM View', '#dom-window-outerwidth', 'Window.outerWidth') }}</td>
   <td>{{ Spec2('CSSOM View') }}</td>
   <td>初回定義</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの対応</h2>

<p>{{Compat("api.Window.outerWidth")}}</p>

<h2 id="See_also" name="See_also">関連情報</h2>

<ul>
 <li>{{domxref("window.outerHeight")}}, {{domxref("window.innerHeight")}}, {{domxref("window.innerWidth")}}</li>
 <li>{{domxref("window.resizeBy()")}}, {{domxref("window.resizeTo()")}}</li>
</ul>