The HTMLShadowElement.getDistributedNodes()
method returns a static NodeList
of the distributed nodes associated with this <shadow>
element.
SyntaxEdit
var nodeList = object.getDistributedNodes()
ExampleEdit
// Get the distributed nodes
var nodes = myShadowObject.getDistributedNodes();
SpecificationsEdit
Specification | Status | Comment |
---|---|---|
Shadow DOM The definition of 'shadow' in that specification. |
Working Draft | Initial definition |
Browser compatibilityEdit
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 35 | Not supported | Not supported | 26 | Not supported |