Skip to main content

@microsoft/fast-element > ChildrenBehavior

ChildrenBehavior class

The runtime behavior for child node observation.

Signature:
export declare class ChildrenBehavior extends NodeObservationBehavior<ChildrenBehaviorOptions> 

Constructors

ConstructorModifiersDescription
(constructor)(target, options)Creates an instance of ChildrenBehavior.

Methods

MethodModifiersDescription
disconnect()Disconnects observation of the nodes.
getNodes()Retrieves the nodes that should be assigned to the target.
observe()Begins observation of the nodes.