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

Method isRelayoutNeeded

src/custom-element.js:1560–1562  ·  view source on GitHub ↗

* The runtime calls this method to determine if layoutCallback * should be called again when layout changes. * @return {boolean} * @package @final * TODO(#31915): remove once R1 migration is complete.

()

Source from the content-addressed store, hash-verified

1558 * TODO(#31915): remove once R1 migration is complete.
1559 */
1560 isRelayoutNeeded() {
1561 return this.impl_ ? this.impl_.isRelayoutNeeded() : false;
1562 }
1563
1564 /**
1565 * Returns reference to upgraded implementation.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected