HTMLContentElement.getDistributedNodes()
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.
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();
Especificações
Specification |
---|
HTML Standard # htmlslotelement |
Compatibilidade com navegadores
BCD tables only load in the browser