Returns an array of child nodes that are of the given node type.

  • Parameters

    • node: Element

      Parent DOM node to return the children from.

    • nodeType: number = NODETYPE.ELEMENT

      Optional node type to return. Default is Constants#NODETYPE_ELEMENT.

    Returns ChildNode[]