Function: findNodes()
findNodes(
root,selector):SelectorNode[]
Defined in: packages/core/src/domain/services/selector-matching.ts:26
Finds all nodes matching the given selector within a root node. Nodes are returned in document order.
Parameters
root
The root node to search from
selector
The selector criteria to match against
Returns
All matching nodes in document order