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

Method observe

test/unit/test-loading-indicator.js:43–45  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

41 }
42
43 observe(el) {
44 pushIfNotExist(this.observed, el);
45 }
46
47 unobserve(el) {
48 removeItem(this.observed, el);

Callers

nothing calls this directly

Calls 1

pushIfNotExistFunction · 0.90

Tested by

no test coverage detected