You are viewing documentation for a previous version of FAST. The latest version is 3.x. View latest docs →

@microsoft/fast-element > NodeObservationDirective > computeNodes

NodeObservationDirective.computeNodes() method

Computes the set of nodes that should be assigned to the source property.

Signature:

protected computeNodes(target: any): Node[];

Parameters

Parameter

Type

Description

target

any

The target to compute the nodes for.

Returns:

Node[]

The computed nodes.

Remarks

Applies filters if provided.