@microsoft/fast-element > ChildrenDirective

ChildrenDirective class

The runtime behavior for child node observation.

Signature:

export declare class ChildrenDirective extends NodeObservationDirective<ChildrenDirectiveOptions> 

Extends: NodeObservationDirective<ChildrenDirectiveOptions>

Constructors

Constructor

Modifiers

Description

(constructor)(options)

Creates an instance of ChildrenDirective.

Methods

Method

Modifiers

Description

disconnect(target)

Disconnects observation of the nodes.

getNodes(target)

Retrieves the raw nodes that should be assigned to the source property.

observe(target)

Begins observation of the nodes.