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

Method prerenderAllowed

src/custom-element.js:1423–1428  ·  view source on GitHub ↗

* Whether the element can pre-render. * @return {boolean} * @final

()

Source from the content-addressed store, hash-verified

1421 * @final
1422 */
1423 prerenderAllowed() {
1424 if (this.hasAttribute('noprerender')) {
1425 return false;
1426 }
1427 return this.implClass_ ? this.implClass_.prerenderAllowed(this) : false;
1428 }
1429
1430 /**
1431 * Whether the element can preview.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected