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

Method unobserve

test/unit/test-ini-load.js:113–118  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

111 }
112
113 unobserve(element) {
114 if (!this.elements.includes(element)) {
115 throw new Error('not observed');
116 }
117 removeItem(this.elements, element);
118 }
119
120 notify(entries) {
121 const {callback} = this;

Callers 1

Calls 1

removeItemFunction · 0.90

Tested by

no test coverage detected