Skip to main content

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

ParameterTypeDescription
nodeVNodeThe node to visit.
visitor(node) => booleanThe 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