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

Function registerContainer

src/utils/display-observer.js:86–88  ·  view source on GitHub ↗
(container, opt_root)

Source from the content-addressed store, hash-verified

84 * used as an intersection root.
85 */
86export function registerContainer(container, opt_root) {
87 getObserver(container).registerContainer(container, opt_root);
88}
89
90/**
91 * @param {!Element} container

Callers 1

Calls 2

registerContainerMethod · 0.80
getObserverFunction · 0.70

Tested by

no test coverage detected