MCPcopy
hub / github.com/angular/angular / getDOM

Function getDOM

packages/common/src/dom_adapter.ts:11–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9let _DOM: DomAdapter = null!;
10
11export function getDOM(): DomAdapter {
12 return _DOM;
13}
14
15export function setRootDomAdapter(adapter: DomAdapter) {
16 _DOM ??= adapter;

Callers 15

getBaseHrefFromDOMMethod · 0.90
onPopStateMethod · 0.90
onHashChangeMethod · 0.90
meta_spec.tsFile · 0.85
bootstrap_spec.tsFile · 0.85
title_spec.tsFile · 0.85
constructorMethod · 0.85
findTestabilityInTreeMethod · 0.85
listenMethod · 0.85
constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…