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

Method reconstructWhenReparented

src/base-element.js:663–665  ·  view source on GitHub ↗

* Whether the element needs to be reconstructed after it has been * re-parented. Many elements cannot survive fully the reparenting and * are better to be reconstructed from scratch. * * An example of an element that should be reconstructed in a iframe-based * element. Reparenting suc

()

Source from the content-addressed store, hash-verified

661 * @return {boolean}
662 */
663 reconstructWhenReparented() {
664 return true;
665 }
666
667 /**
668 * Returns a promise that will resolve or fail based on the element's 'load'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected