MCPcopy
hub / github.com/ampproject/amphtml / getShadowRoot

Function getShadowRoot

test/unit/test-runtime.js:1939–1941  ·  view source on GitHub ↗
(hostElement)

Source from the content-addressed store, hash-verified

1937);
1938
1939function getShadowRoot(hostElement) {
1940 return hostElement.shadowRoot || hostElement.__AMP_SHADOW_ROOT;
1941}

Callers 2

test-runtime.jsFile · 0.85
attachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected