findChildren

Type: Function

Deprecated!

Use XPath/XQuery to do this. Refer to the examples page for an example on how to do this.

Get all children matching the spec

Refer to blueprintQuery for more information on how to import and use this function.

Arguments

  1. blueprint

    (Required)

    Type: Blueprint

    The blueprint to use for traversing the Dom

  2. node

    (Required)

    Type: Node

    The node which children to lookup

  3. spec

    (Required)

    Type: NodeSpec

    Node specification, as accepted by fontoxml-dom-utils' createNodeFilter.

Returns

Type: Array<Node>

The nodes under the parentNode at matching the spec