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

Method collapsedCallback

src/custom-element.js:1786–1790  ·  view source on GitHub ↗

* Called every time an owned AmpElement collapses itself. * @param {!AmpElement} element

(element)

Source from the content-addressed store, hash-verified

1784 * @param {!AmpElement} element
1785 */
1786 collapsedCallback(element) {
1787 if (this.impl_) {
1788 this.impl_.collapsedCallback(element);
1789 }
1790 }
1791
1792 /**
1793 * Expands the element, and notifies its owner (if there is one) that the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected