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

Method disconnectedCallback

src/custom-element.js:1352–1354  ·  view source on GitHub ↗

* Called when the element is disconnected from the DOM. * * @final

()

Source from the content-addressed store, hash-verified

1350 * @final
1351 */
1352 disconnectedCallback() {
1353 this.disconnect(/* pretendDisconnected */ false);
1354 }
1355
1356 /** @private */
1357 connected_() {

Callers

nothing calls this directly

Calls 1

disconnectMethod · 0.95

Tested by

no test coverage detected