The HTMLShadowElement.getDistributedNodes() method returns a static NodeList of the distributed nodes associated with this <shadow> element.
var nodeList = object.getDistributedNodes()
// Get the distributed nodes var nodes = myShadowObject.getDistributedNodes();
| Specification | Status | Comment |
|---|---|---|
| Shadow DOM The definition of 'shadow' in that specification. | Working Draft | Initial definition |
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
|---|---|---|---|---|---|
| Basic support | 35 | Not supported | Not supported | 26 | Not supported |
| Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|
| Basic support | 37 | Not supported | Not supported | ? | ? |
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLShadowElement/getDistributedNodes