MCPcopy Index your code
hub / github.com/angular/components / getAllChildLoaders

Function getAllChildLoaders

src/cdk/testing/component-harness.ts:499–501  ·  view source on GitHub ↗

* Gets a list of `HarnessLoader` for each element matching the given selector under the current * harness's cotnent that searches for harnesses under that element. * @param selector The selector for elements in the component's content. * @returns A list of `HarnessLoader` for each element m

(selector: S)

Source from the content-addressed store, hash-verified

497 * @returns A list of `HarnessLoader` for each element matching the given selector.
498 */
499 async getAllChildLoaders(selector: S): Promise<HarnessLoader[]> {
500 return (await this.getRootHarnessLoader()).getAllChildLoaders(selector);
501 }
502
503 /**
504 * Gets the first matching harness for the given query within the current harness's content.

Callers

nothing calls this directly

Calls 2

getAllChildLoadersMethod · 0.80
getRootHarnessLoaderMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…