MCPcopy Create free account
hub / github.com/angular/angular / queryAll

Function queryAll

packages/core/test/acceptance/integration_spec.ts:3684–3686  ·  view source on GitHub ↗

* Queries the provided `root` element for sub elements by the selector and casts the result as an * array of elements

(root: HTMLElement, selector: string)

Source from the content-addressed store, hash-verified

3682 * array of elements
3683 */
3684function queryAll(root: HTMLElement, selector: string): HTMLElement[] {
3685 return Array.from(root.querySelectorAll(selector));
3686}

Callers 1

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected