Skip to main content

@microsoft/fast-element > SubtreeBehaviorOptions

SubtreeBehaviorOptions interface

The options used to configure subtree observation.

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

Properties

PropertyTypeDescription
selectorstringWhen subtrees are observed, a query selector is required to indicate which of potentially many nodes should be assigned to the property.
subtreebooleanIndicates that child subtrees should be observed for changes.