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

Method idleRenderOutsideViewport

src/base-element.js:527–529  ·  view source on GitHub ↗

* Allows for rendering outside of the constraint set by renderOutsideViewport * so long task scheduler is idle. Integer values less than those returned * by renderOutsideViewport have no effect. Subclasses can override (default * is disabled). * @return {boolean|number}

()

Source from the content-addressed store, hash-verified

525 * @return {boolean|number}
526 */
527 idleRenderOutsideViewport() {
528 return false;
529 }
530
531 /**
532 * Ensure that the element is being eagerly loaded.

Callers 1

test-resource.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected