From 1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde Mon Sep 17 00:00:00 2001 From: julieng Date: Sat, 2 Oct 2021 17:20:24 +0200 Subject: convert content to md --- .../getdistributednodes/index.md | 46 ++++++++-------------- 1 file changed, 17 insertions(+), 29 deletions(-) (limited to 'files/fr/web/api/htmlcontentelement/getdistributednodes') 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 --- -

{{ APIRef("Web Components") }}

+{{ APIRef("Web Components") }} -

La méthode HTMLContentElement.getDistributedNodes() retourne un {{domxref("NodeList")}} statique du {{glossary("distributed nodes")}} associé avec l'élément <content>.

+La méthode **`HTMLContentElement.getDistributedNodes()`** retourne un {{domxref("NodeList")}} statique du {{glossary("distributed nodes")}} associé avec l'élément ``. -

Syntaxe

+## Syntaxe -
var nodeList = object.getDistributedNodes()
-
+ var nodeList = object.getDistributedNodes() -

Exemple

+## Exemple -
// Récupère les éléments
-var nodes = myContentObject.getDistributedNodes();
+```js +// Récupère les éléments +var nodes = myContentObject.getDistributedNodes(); +``` -

Spécifications

+## Spécifications - - - - - - - - - - - - - -
SpécificationStatusCommentaire
{{SpecName('Shadow DOM', '#the-content-element', 'content')}}{{Spec2('Shadow DOM')}} 
+| Spécification | Status | Commentaire | +| -------------------------------------------------------------------------------- | -------------------------------- | ----------- | +| {{SpecName('Shadow DOM', '#the-content-element', 'content')}} | {{Spec2('Shadow DOM')}} |   | -

Compatibilité des navigateurs

+## Compatibilité des navigateurs -

{{Compat("api.HTMLContentElement.getDistributedNodes")}}

+{{Compat("api.HTMLContentElement.getDistributedNodes")}} -

Voir aussi

+## Voir aussi - +- [HTMLContentElement](/fr/docs/Web/API/HTMLContentElement) -- cgit v1.2.3-54-g00ecf