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

Method constructor

test/unit/test-ini-load.js:95–100  ·  view source on GitHub ↗
(callback, options)

Source from the content-addressed store, hash-verified

93
94 class FakeIntersectionObserver {
95 constructor(callback, options) {
96 this.callback = callback;
97 this.options = options;
98 this.elements = [];
99 this.disconnected = false;
100 }
101
102 disconnect() {
103 this.disconnected = true;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected