HTMLContentElement.getDistributedNodes()
La méthode HTMLContentElement.getDistributedNodes() retourne un NodeList statique du distributed nodes associé avec l'élément <content>.
Syntaxe
js
var nodeList = object.getDistributedNodes()
Exemple
js
// Récupère les éléments
var nodes = myContentObject.getDistributedNodes();
Spécifications
| Specification |
|---|
| HTML Standard # htmlslotelement |
Compatibilité des navigateurs
BCD tables only load in the browser