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

Function queryAll

packages/core/test/acceptance/integration_spec.ts:4027–4029  ·  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

4025 * array of elements
4026 */
4027function queryAll(root: HTMLElement, selector: string): HTMLElement[] {
4028 return Array.from(root.querySelectorAll(selector));
4029}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected