diff options
Diffstat (limited to 'files/ko/web/api/window/length/index.html')
-rw-r--r-- | files/ko/web/api/window/length/index.html | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/files/ko/web/api/window/length/index.html b/files/ko/web/api/window/length/index.html new file mode 100644 index 0000000000..b2d61b92af --- /dev/null +++ b/files/ko/web/api/window/length/index.html @@ -0,0 +1,51 @@ +--- +title: Window.length +slug: Web/API/Window/length +translation_of: Web/API/Window/length +--- +<div>{{ ApiRef() }}</div> + +<p>window의 frame 개수를 반환합니다. ({{HTMLElement("frame")}} 또는 {{HTMLElement("iframe")}} 요소들 중 하나) </p> + +<h2 id="신텍스">신텍스</h2> + +<pre class="syntaxbox"><em>framesCount</em> = window.length; +</pre> + +<ul> + <li><code>framesCount</code> 는 frame의 개수이다.</li> +</ul> + +<h2 id="예제">예제</h2> + +<pre class="brush:js">if (window.length) { + // document의 subframes +}</pre> + +<h2 id="명세서">명세서</h2> + +<table class="spectable standard-table"> + <tbody> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</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> + +<h2 id="브라우저_호환성">브라우저 호환성</h2> + + + +<p>{{Compat("api.Window.length")}}</p> |