diff options
author | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2022-01-18 17:24:23 +0900 |
---|---|---|
committer | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2022-01-26 08:55:52 +0900 |
commit | dc71e650dcf3d799268a2b15ca6526b890ea9653 (patch) | |
tree | 0454c4b40494ae22c406bca421ae37b619864549 /files/ja/web/api/shadowroot/innerhtml/index.html | |
parent | 89c8adcf20210238fb0aca3705d19979cc7c3d51 (diff) | |
download | translated-content-dc71e650dcf3d799268a2b15ca6526b890ea9653.tar.gz translated-content-dc71e650dcf3d799268a2b15ca6526b890ea9653.tar.bz2 translated-content-dc71e650dcf3d799268a2b15ca6526b890ea9653.zip |
ShadowRoot インターフェイス以下の記事を移行
Diffstat (limited to 'files/ja/web/api/shadowroot/innerhtml/index.html')
-rw-r--r-- | files/ja/web/api/shadowroot/innerhtml/index.html | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/files/ja/web/api/shadowroot/innerhtml/index.html b/files/ja/web/api/shadowroot/innerhtml/index.html deleted file mode 100644 index cfef90e933..0000000000 --- a/files/ja/web/api/shadowroot/innerhtml/index.html +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: ShadowRoot.innerHTML -slug: Web/API/ShadowRoot/innerHTML -tags: - - API - - Property - - Reference - - ShadowRoot - - innerHTML - - shadow dom - - プロパティ -translation_of: Web/API/ShadowRoot/innerHTML ---- -<div>{{APIRef("Shadow DOM")}}</div> - -<p><strong><code>innerHTML</code></strong> は {{domxref("ShadowRoot")}} インターフェイスのプロパティで、 <code>ShadowRoot</code> の内部の DOM ツリーに対する参照を設定したり返したりします。</p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="syntaxbox">var <em>domString</em> = <em>shadowRoot</em>.innerHTML -<em>shadowRoot</em>.innerHTML = <em>domString</em> -</pre> - -<h3 id="Value" name="Value">値</h3> - -<p>{{domxref("DOMString")}} です。</p> - -<h2 id="Examples" name="Examples">例</h2> - -<pre class="brush: js">let customElem = document.querySelector('my-shadow-dom-element'); -let shadow = customElem.shadowRoot; - -shadow.innerHTML = '<strong>This element should be more important!</strong>';</pre> - -<h2 id="Specifications" name="Specifications">仕様書</h2> - -<p>このプロパティはまだどの仕様書でも定義されていません。定義には <a href="https://github.com/w3c/DOM-Parsing/issues/21">この仕様書の問題</a>を参照してください。</p> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - -<p>{{Compat("api.ShadowRoot.innerHTML")}}</p> |