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

Method collapse

src/custom-element.js:1776–1780  ·  view source on GitHub ↗

* Collapses the element, and notifies its owner (if there is one) that the * element is no longer present.

()

Source from the content-addressed store, hash-verified

1774 * element is no longer present.
1775 */
1776 collapse() {
1777 if (this.impl_) {
1778 this.impl_./*OK*/ collapse();
1779 }
1780 }
1781
1782 /**
1783 * Called every time an owned AmpElement collapses itself.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected