---
title: HTMLShadowElement.getDistributedNodes()
slug: Web/API/HTMLShadowElement/getDistributedNodes
tags:
  - API
  - HTML DOM
  - Property
  - Reference
  - Web Components
  - Deprecated
browser-compat: api.HTMLShadowElement.getDistributedNodes
---
{{APIRef("Web Components")}}{{Deprecated_header}}

The **`HTMLShadowElement.getDistributedNodes()`** method
returns a static {{domxref("NodeList")}} of the {{glossary("distributed nodes")}}
associated with this `<shadow>` element.

## Syntax

```js
var nodeList = object.getDistributedNodes()
```

## Example

```js
// Get the distributed nodes
var nodes = myShadowObject.getDistributedNodes();
```

## Specifications

This feature is no longer defined by any specifications.

## Browser compatibility

{{Compat}}

## See also

- [HTMLShadowElement](/en-US/docs/Web/API/HTMLShadowElement)
