@microsoft/fast-element > SubtreeDirectiveOptions

SubtreeDirectiveOptions interface

The options used to configure subtree observation.

Signature:

export interface SubtreeDirectiveOptions<T = any> extends NodeBehaviorOptions<T>, Omit<MutationObserverInit, "subtree" | "childList"> 

Extends: NodeBehaviorOptions<T>, Omit<MutationObserverInit, "subtree" | "childList">

Properties

Property

Modifiers

Type

Description

selector

string

When subtrees are observed, a query selector is required to indicate which of potentially many nodes should be assigned to the property.

subtree

boolean

Indicates that child subtrees should be observed for changes.