---
id: fast-element.slottedbehavior.getnodes
title: SlottedBehavior.getNodes() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [SlottedBehavior](./fast-element.slottedbehavior.md) &gt; [getNodes](./fast-element.slottedbehavior.getnodes.md)

## SlottedBehavior.getNodes() method

Retrieves the nodes that should be assigned to the target.

<b>Signature:</b>

```typescript
protected getNodes(): Node[];
```
<b>Returns:</b>

Node\[\]
