aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/window/fullscreen
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/api/window/fullscreen
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/web/api/window/fullscreen')
-rw-r--r--files/ja/web/api/window/fullscreen/index.html58
1 files changed, 58 insertions, 0 deletions
diff --git a/files/ja/web/api/window/fullscreen/index.html b/files/ja/web/api/window/fullscreen/index.html
new file mode 100644
index 0000000000..3a565b6007
--- /dev/null
+++ b/files/ja/web/api/window/fullscreen/index.html
@@ -0,0 +1,58 @@
+---
+title: Window.fullScreen
+slug: Web/API/Window/fullScreen
+tags:
+ - API
+ - HTML DOM
+ - NeedsMarkupWork
+ - Non-standard
+ - Property
+ - Reference
+ - Window
+ - プロパティ
+ - 標準外
+translation_of: Web/API/Window/fullScreen
+---
+<div>{{APIRef}}{{Non-standard_Header}}</div>
+
+<p><code><strong>fullScreen</strong></code> は <code>Window</code> インターフェイスのプロパティで、そのウィンドウが全画面モードで表示されているかどうかを示します。</p>
+
+<h2 id="Syntax" name="Syntax">構文</h2>
+
+<pre class="syntaxbox notranslate"><var>isInFullScreen</var> = <var>windowRef</var>.fullScreen;
+</pre>
+
+<p>クローム特権があればこのプロパティは読み書き可能で、それ以外では読み取り専用です。クローム特権なしでこのプロパティを設定しようとすると、例外は発生せず、ただ暗黙に失敗することに注意してください。これは、 Internet Explorer でこのプロパティを設定するように設計されたスクリプトが壊れるのを防ぐためです。</p>
+
+<h3 id="Return_Value" name="Return_Value">返値</h3>
+
+<dl>
+ <dt><code>isInFullScreen</code></dt>
+ <dd>論理値。取り得る値は次の通りです。</dd>
+</dl>
+
+<ul>
+ <li><code>true</code>: そのウィンドウは全画面モードです。</li>
+ <li><code>false</code>: そのウィンドウは全画面モードではありません。</li>
+</ul>
+
+<h2 id="Notes" name="Notes">注</h2>
+
+<ul>
+ <li>通常のウィンドウと全画面との間で切り替えが行われると、 "resize" イベントが該当するウィンドウで発生します。</li>
+</ul>
+
+<h2 id="Example" name="Example">例</h2>
+
+<pre class="brush: js notranslate">if (window.fullScreen) {
+ // 全画面モード
+}
+else {
+ // 全画面モードではない
+}</pre>
+
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
+
+<div class="hidden">このページの互換性一覧表は構造化データから生成されています。データに協力していただけるのであれば、 <a class="external" href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックアウトしてプルリクエストを送信してください。</div>
+
+<p>{{Compat("api.Window.fullScreen")}}</p>