---
id: fast-element.slottedbehavior
title: SlottedBehavior class
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)

## SlottedBehavior class

The runtime behavior for slotted node observation.

<b>Signature:</b>

```typescript
export declare class SlottedBehavior extends NodeObservationBehavior<SlottedBehaviorOptions> 
```

## Constructors

|  Constructor | Modifiers | Description |
|  --- | --- | --- |
|  [(constructor)(target, options)](./fast-element.slottedbehavior._constructor_.md) |  | Creates an instance of SlottedBehavior. |

## Methods

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [disconnect()](./fast-element.slottedbehavior.disconnect.md) |  | Disconnects observation of the nodes. |
|  [getNodes()](./fast-element.slottedbehavior.getnodes.md) |  | Retrieves the nodes that should be assigned to the target. |
|  [observe()](./fast-element.slottedbehavior.observe.md) |  | Begins observation of the nodes. |
