HTMLContentElement.getDistributedNodes()
O método HTMLContentElement.getDistributedNodes()
retorna um static NodeList
do distributed nodes associado com este elemento <content>
.
Syntaxe
var nodeList = object.getDistributedNodes()
Exemplo
js
//Pegue os nós distribuídos
var nodes = myContentObject.getDistributedNodes();
Specificações
Specificações | Status | Comentário |
---|---|---|
Shadow DOM The definition of 'content' in that specification. |
Obsoleto |
Compatibilidade com navegadores
BCD tables only load in the browser