MCPcopy Create free account
hub / github.com/angular/components / ngOnDestroy

Method ngOnDestroy

src/material/select/select.ts:711–717  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

709 }
710
711 ngOnDestroy() {
712 this._cleanupDetach?.();
713 this._keyManager?.destroy();
714 this._destroy.next();
715 this._destroy.complete();
716 this.stateChanges.complete();
717 }
718
719 /** Toggles the overlay panel open or closed. */
720 toggle(): void {

Callers 1

Calls 2

destroyMethod · 0.65
nextMethod · 0.45

Tested by

no test coverage detected