diff options
Diffstat (limited to 'files/ja/web/api/element/childelementcount/index.html')
-rw-r--r-- | files/ja/web/api/element/childelementcount/index.html | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/files/ja/web/api/element/childelementcount/index.html b/files/ja/web/api/element/childelementcount/index.html deleted file mode 100644 index c3520c9a31..0000000000 --- a/files/ja/web/api/element/childelementcount/index.html +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: Element.childElementCount -slug: Web/API/Element/childElementCount -tags: - - API - - DOM - - Property - - Reference -browser-compat: api.Element.childElementCount -translation_of: Web/API/Element/childElementCount -original_slug: Web/API/ParentNode/childElementCount ---- -<div>{{ APIRef("DOM") }}</div> - -<p><code><strong>Element.childElementCount</strong></code> は読み取り専用のプロパティで、この要素の子要素の数を返します。</p> - -<h2 id="Syntax">構文</h2> - -<pre class="brush: js">element.childElementCount;</pre> - -<h2 id="Example">例</h2> - -<pre class="brush:js">let sidebar = document.getElementById('sidebar'); -if (sidebar.childElementCount > 0) { - // 何もしない -} -</pre> - -<h2 id="Specifications">仕様書</h2> - -{{Specifications}} - -<h2 id="Browser_compatibility">ブラウザーの互換性</h2> - -<p>{{Compat}}</p> - -<h2 id="See_also">関連情報</h2> - -<ul> - <li>{{domxref("Document.childElementCount")}}</li> - <li>{{domxref("DocumentFragment.childElementCount")}}</li> -</ul> |