diff options
author | julieng <julien.gattelier@gmail.com> | 2021-10-02 17:20:24 +0200 |
---|---|---|
committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-10-02 17:30:20 +0200 |
commit | 1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde (patch) | |
tree | 30a56efd3eff3a01bd1611e1840fdbbfacf544a4 /files/fr/web/api/htmlcontentelement/getdistributednodes | |
parent | c05efa8d7ae464235cf83d7c0956e42dc6974103 (diff) | |
download | translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.gz translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.bz2 translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.zip |
convert content to md
Diffstat (limited to 'files/fr/web/api/htmlcontentelement/getdistributednodes')
-rw-r--r-- | files/fr/web/api/htmlcontentelement/getdistributednodes/index.md | 46 |
1 files changed, 17 insertions, 29 deletions
diff --git a/files/fr/web/api/htmlcontentelement/getdistributednodes/index.md b/files/fr/web/api/htmlcontentelement/getdistributednodes/index.md index 282b4a2933..c34b0e1a69 100644 --- a/files/fr/web/api/htmlcontentelement/getdistributednodes/index.md +++ b/files/fr/web/api/htmlcontentelement/getdistributednodes/index.md @@ -8,43 +8,31 @@ tags: - Web Components translation_of: Web/API/HTMLContentElement/getDistributedNodes --- -<p>{{ APIRef("Web Components") }}</p> +{{ APIRef("Web Components") }} -<p>La méthode <code><strong>HTMLContentElement.getDistributedNodes()</strong></code> retourne un {{domxref("NodeList")}} statique du {{glossary("distributed nodes")}} associé avec l'élément <code><content></code>.</p> +La méthode **`HTMLContentElement.getDistributedNodes()`** retourne un {{domxref("NodeList")}} statique du {{glossary("distributed nodes")}} associé avec l'élément `<content>`. -<h2 id="Syntaxe">Syntaxe</h2> +## Syntaxe -<pre class="syntaxbox">var <em>nodeList</em> = <em>object</em>.getDistributedNodes() -</pre> + var nodeList = object.getDistributedNodes() -<h2 id="Specifications">Exemple</h2> +## Exemple -<pre class="brush: js">// Récupère les éléments -var nodes = myContentObject.getDistributedNodes();</pre> +```js +// Récupère les éléments +var nodes = myContentObject.getDistributedNodes(); +``` -<h2 id="Specifications">Spécifications</h2> +## Spécifications -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Spécification</th> - <th scope="col">Status</th> - <th scope="col">Commentaire</th> - </tr> - <tr> - <td>{{SpecName('Shadow DOM', '#the-content-element', 'content')}}</td> - <td>{{Spec2('Shadow DOM')}}</td> - <td> </td> - </tr> - </tbody> -</table> +| Spécification | Status | Commentaire | +| -------------------------------------------------------------------------------- | -------------------------------- | ----------- | +| {{SpecName('Shadow DOM', '#the-content-element', 'content')}} | {{Spec2('Shadow DOM')}} | | -<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2> +## Compatibilité des navigateurs -<p>{{Compat("api.HTMLContentElement.getDistributedNodes")}}</p> +{{Compat("api.HTMLContentElement.getDistributedNodes")}} -<h2 id="See_also">Voir aussi</h2> +## Voir aussi -<ul> - <li><a href="/fr/docs/Web/API/HTMLContentElement">HTMLContentElement</a></li> -</ul> +- [HTMLContentElement](/fr/docs/Web/API/HTMLContentElement) |