---
id: fast-element.subtreebehavioroptions
title: SubtreeBehaviorOptions interface
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [SubtreeBehaviorOptions](./fast-element.subtreebehavioroptions.md)

## SubtreeBehaviorOptions interface

The options used to configure subtree observation.

<b>Signature:</b>

```typescript
export interface SubtreeBehaviorOptions<T = any> extends Omit<NodeBehaviorOptions<T>, "filter">, Omit<MutationObserverInit, "subtree" | "childList"> 
```

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [selector](./fast-element.subtreebehavioroptions.selector.md) | string | When subtrees are observed, a query selector is required to indicate which of potentially many nodes should be assigned to the property. |
|  [subtree](./fast-element.subtreebehavioroptions.subtree.md) | boolean | Indicates that child subtrees should be observed for changes. |
