diff options
Diffstat (limited to 'files/fr/web/api/element/attachshadow/index.html')
| -rw-r--r-- | files/fr/web/api/element/attachshadow/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/files/fr/web/api/element/attachshadow/index.html b/files/fr/web/api/element/attachshadow/index.html index 97ac7f7019..cde6764b54 100644 --- a/files/fr/web/api/element/attachshadow/index.html +++ b/files/fr/web/api/element/attachshadow/index.html @@ -5,11 +5,11 @@ translation_of: Web/API/Element/attachShadow --- <p>{{APIRef('Shadow DOM')}} {{SeeCompatTable}}</p> -<p>La méthode <strong><code>Element.attachShadow()</code></strong> attache un arbre Shadow DOM à un élément spécifié et retourne une référence à son <a href="https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot" title="Use Element.attachShadow to create an instance of shadow DOM. When shadow DOM is created, it is always attached to an existing element. After the shadow DOM is created, the element that it is attached to is called the shadow root."><code>ShadowRoot</code></a>.</p> +<p>La méthode <strong><code>Element.attachShadow()</code></strong> attache un arbre Shadow DOM à un élément spécifié et retourne une référence à son <a href="/en-US/docs/Web/API/ShadowRoot"><code>ShadowRoot</code></a>.</p> -<h2 id="Syntax" name="Syntax">Syntaxe</h2> +<h2 id="Syntax">Syntaxe</h2> -<pre class="syntaxbox notranslate">var <em>shadowroot =</em><em> element</em>.attachShadow(<em>shadowRootInit</em>); +<pre class="syntaxbox">var <em>shadowroot =</em><em> element</em>.attachShadow(<em>shadowRootInit</em>); </pre> <h3 id="Paramètres">Paramètres</h3> |
