MCPcopy Index your code
hub / github.com/ampproject/amphtml / prerenderAllowed

Method prerenderAllowed

src/base-element.js:143–145  ·  view source on GitHub ↗

* Subclasses can override this method to opt-in into being called to * prerender when document itself is not yet visible (pre-render mode). * * The return value of this function is used to determine whether or not the * element will be built _and_ laid out during prerender mode. Therefor

(unusedElement)

Source from the content-addressed store, hash-verified

141 *
142 */
143 static prerenderAllowed(unusedElement) {
144 return false;
145 }
146
147 /**
148 * Subclasses can override this method to opt-in into being called to

Callers 7

previewAllowedMethod · 0.95
test-amp-img.jsFile · 0.45
test-amp-img-v1.jsFile · 0.45
whenContentIniLoadInObFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected