MCPcopy Create free account
hub / github.com/ionic-team/ionic-framework / disconnectedCallback

Method disconnectedCallback

core/src/components/alert/alert.tsx:381–391  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

379 }
380
381 disconnectedCallback() {
382 this.triggerController.removeClickListener();
383
384 if (this.gesture) {
385 this.gesture.destroy();
386 this.gesture = undefined;
387 }
388
389 this.buttonGroupResizeObserver?.disconnect();
390 this.buttonGroupResizeObserver = undefined;
391 }
392
393 componentDidLoad() {
394 /**

Callers

nothing calls this directly

Calls 1

destroyMethod · 0.65

Tested by

no test coverage detected