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

Function getChildLoader

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

* Gets a `HarnessLoader` that searches for harnesses under the first element matching the given * selector within the current harness's content. * @param selector The selector for an element in the component's content. * @returns A `HarnessLoader` that searches for harnesses under the given

(selector: S)

Source from the content-addressed store, hash-verified

487 * @returns A `HarnessLoader` that searches for harnesses under the given selector.
488 */
489 async getChildLoader(selector: S): Promise<HarnessLoader> {
490 return (await this.getRootHarnessLoader()).getChildLoader(selector);
491 }
492
493 /**
494 * Gets a list of `HarnessLoader` for each element matching the given selector under the current

Callers

nothing calls this directly

Calls 2

getChildLoaderMethod · 0.80
getRootHarnessLoaderMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…