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

Method getIntersection

src/video-iframe-integration.js:383–385  ·  view source on GitHub ↗

* Gets the video's intersection with the document's viewport. * @param {function(!JsonObject)} callback

(callback)

Source from the content-addressed store, hash-verified

381 * @param {function(!JsonObject)} callback
382 */
383 getIntersection(callback) {
384 this.getFromHostForTesting_('getIntersection', callback);
385 }
386
387 /**
388 * Gets the host document's user consent data.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected