MCPcopy
hub / github.com/ampproject/amphtml / setInViewportForTesting

Function setInViewportForTesting

3p/environment.js:14–16  ·  view source on GitHub ↗
(inV)

Source from the content-addressed store, hash-verified

12 * @param {boolean} inV
13 */
14export function setInViewportForTesting(inV) {
15 inViewport = inV;
16}
17
18// Active intervals. Must be global, because people clear intervals
19// with clearInterval from a different window.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected