Function querySelectorAll

  • Returns all element descendants of node that match selectors.

    Type Parameters

    • K extends keyof HTMLElementTagNameMap

    Parameters

    • selectors: K
    • OptionalparentNode: ParentNode

    Returns NodeListOf<HTMLElementTagNameMap[K]>

  • Returns all element descendants of node that match selectors.

    Type Parameters

    • K extends keyof SVGElementTagNameMap

    Parameters

    • selectors: K
    • OptionalparentNode: ParentNode

    Returns NodeListOf<SVGElementTagNameMap[K]>

  • Returns all element descendants of node that match selectors.

    Type Parameters

    • E extends Element = Element

    Parameters

    • selectors: string
    • OptionalparentNode: ParentNode

    Returns NodeListOf<E>