---
id: fast-element.slottedbehavior._constructor_
title: SlottedBehavior.(constructor)
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; [(constructor)](./fast-element.slottedbehavior._constructor_.md)

## SlottedBehavior.(constructor)

Creates an instance of SlottedBehavior.

<b>Signature:</b>

```typescript
constructor(target: HTMLSlotElement, options: SlottedBehaviorOptions);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  target | HTMLSlotElement | The slot element target to observe. |
|  options | [SlottedBehaviorOptions](./fast-element.slottedbehavioroptions.md) | The options to use when observing the slot. |
