MCPcopy Create free account
hub / github.com/ampproject/amphtml / observe

Method observe

testing/intersection-observer-stub.js:97–99  ·  view source on GitHub ↗

* @param {!Element} element

(element)

Source from the content-addressed store, hash-verified

95 * @param {!Element} element
96 */
97 observe(element) {
98 this.elements.add(element);
99 }
100
101 /**
102 * @param {!Element} element

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected