Function: visitNodes()
visitNodes(
node
,visitor
):void
Defined in: src/sdk/components/FSComponent.ts:814
Visits VNodes with a supplied visitor function within the given children tree.
Parameters
Parameter | Type | Description |
---|---|---|
node | VNode | The node to visit. |
visitor | (node ) => boolean | The visitor function to inspect VNodes with. Return true if the search should stop at the visited node and not proceed any further down the node's children. |
Returns
void