Function selectorAll

  • Given the specified selector, returns a function which returns all descendants of "this" element that match the specified selector.

    The generic refers to the type of the returned descendant element.

    Type Parameters

    Parameters

    • selector: string

      A CSS selector string.

    Returns ((this) => NodeListOf<DescElement>)

      • (this): NodeListOf<DescElement>
      • Parameters

        Returns NodeListOf<DescElement>