@microsoft/fast-element > NodeObservationDirective > updateTarget
NodeObservationDirective.updateTarget() method
Updates the source property with the computed nodes.
Signature:
protected updateTarget(source: any, value: ReadonlyArray<any>): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
source |
any |
The source object to assign the nodes property to. |
|
value |
ReadonlyArray<any> |
The nodes to assign to the source object property. |
Returns:
void