aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/window/length
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/length
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/length')
-rw-r--r--files/ja/web/api/window/length/index.html54
1 files changed, 54 insertions, 0 deletions
diff --git a/files/ja/web/api/window/length/index.html b/files/ja/web/api/window/length/index.html
new file mode 100644
index 0000000000..2cf903eeae
--- /dev/null
+++ b/files/ja/web/api/window/length/index.html
@@ -0,0 +1,54 @@
+---
+title: window.length
+slug: Web/API/Window/length
+tags:
+ - API
+ - Gecko
+ - HTML DOM
+ - Property
+ - Reference
+ - Window
+translation_of: Web/API/Window/length
+---
+<div>{{ApiRef}}</div>
+
+<h2 id="概要">概要</h2>
+
+<p>ウィンドウにおけるフレーム({{HTMLElement("frame")}} か {{HTMLElement("iframe")}} 要素のいずれか)の数を返します。</p>
+
+<h2 id="構文">構文</h2>
+
+<pre class="syntaxbox"><var>framesCount</var> = window.length;
+</pre>
+
+<ul>
+ <li><code>framesCount</code> はフレームの数です。</li>
+</ul>
+
+<h2 id="Example" name="Example">例</h2>
+
+<pre class="brush:js">if (window.length) {
+ // サブフレーム数が 0 でない場合の処理をここに記述
+}</pre>
+
+<h2 id="仕様">仕様</h2>
+
+<table class="spectable standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">仕様</th>
+ <th scope="col">状態</th>
+ <th scope="col">コメント</th>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML WHATWG','browsers.html#dom-length','Window.length')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td> </td>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML5 W3C', 'browsers.html#dom-length', 'Window.length')}}</td>
+ <td>{{Spec2('HTML5 W3C')}}</td>
+ <td></td>
+ </tr>
+ </tbody>
+</table>