--- title: HTMLShadowElement.getDistributedNodes() slug: Web/API/HTMLShadowElement/getDistributedNodes tags: - Necesita traducción translation_of: Web/API/HTMLShadowElement/getDistributedNodes ---
The HTMLShadowElement.getDistributedNodes()
method returns a static {{domxref("NodeList")}} of the {{glossary("distributed nodes")}} associated with this <shadow>
element.
var nodeList = object.getDistributedNodes()
// Get the distributed nodes var nodes = myShadowObject.getDistributedNodes();
Specification | Status | Comment |
---|---|---|
{{SpecName('Shadow DOM', '#the-shadow-element', 'shadow')}} | {{Spec2('Shadow DOM')}} | Initial definition |
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 35 | {{CompatNo}} | {{CompatNo}} | 26 | {{CompatNo}} |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | 37 | {{CompatNo}} | {{CompatNo}} | {{CompatUnknown}} | {{CompatUnknown}} |