MCPcopy
hub / github.com/lit/lit / disconnectedCallback

Function disconnectedCallback

packages/reactive-element/src/reactive-element.ts:1159–1161  ·  view source on GitHub ↗

* Allows for `super.disconnectedCallback()` in extensions while * reserving the possibility of making non-breaking feature additions * when disconnecting at some point in the future. * @category lifecycle

()

Source from the content-addressed store, hash-verified

1157 * @category lifecycle
1158 */
1159 disconnectedCallback() {
1160 this.__controllers?.forEach((c) => c.hostDisconnected?.());
1161 }
1162
1163 /**
1164 * Synchronizes property values when attributes change.

Callers

nothing calls this directly

Calls 1

hostDisconnectedMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…