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

Method ngOnDestroy

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 2

destroyMethod · 0.65
nextMethod · 0.45

Tested by

no test coverage detected