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

Method observe

testing/resize-observer-stub.js:61–63  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

59 }
60
61 observe(element) {
62 this.elements.add(element);
63 }
64
65 unobserve(element) {
66 this.elements.delete(element);

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected