---
id: fast-element.childrenbehavior._constructor_
title: ChildrenBehavior.(constructor)
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [ChildrenBehavior](./fast-element.childrenbehavior.md) &gt; [(constructor)](./fast-element.childrenbehavior._constructor_.md)

## ChildrenBehavior.(constructor)

Creates an instance of ChildrenBehavior.

<b>Signature:</b>

```typescript
constructor(target: HTMLElement, options: ChildrenBehaviorOptions);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  target | HTMLElement | The element target to observe children on. |
|  options | [ChildrenBehaviorOptions](./fast-element.childrenbehavioroptions.md) | The options to use when observing the element children. |
