@microsoft/fast-element > SlottedDirective > getNodes
SlottedDirective.getNodes() method
Retrieves the raw nodes that should be assigned to the source property.
Signature:
getNodes(target: HTMLSlotElement): Node[];
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
target |
HTMLSlotElement |
The target to get the node to. |
Returns:
Node[]