MCPcopy Create free account
hub / github.com/angular/components / documentRootLocatorFactory

Function documentRootLocatorFactory

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

* Gets a `LocatorFactory` for the document root element. This factory can be used to create * locators for elements that a component creates outside of its own root element. (e.g. by * appending to document.body).

()

Source from the content-addressed store, hash-verified

335 * appending to document.body).
336 */
337 protected documentRootLocatorFactory(): LocatorFactory {
338 return this.locatorFactory.documentRootLocatorFactory();
339 }
340
341 /**
342 * Creates an asynchronous locator function that can be used to find a `ComponentHarness` instance

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected