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

Function ngOnDestroy

src/cdk/menu/menu-trigger-base.ts:132–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130 private _childMenuInjector?: Injector;
131
132 ngOnDestroy() {
133 this._destroyOverlay();
134
135 this.destroyed.next();
136 this.destroyed.complete();
137 }
138
139 /** Whether the attached menu is open. */
140 isOpen() {

Callers

nothing calls this directly

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected