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

Function _destroyOverlay

src/cdk/menu/menu-trigger-base.ts:184–189  ·  view source on GitHub ↗

Destroy and unset the overlay reference it if exists

()

Source from the content-addressed store, hash-verified

182
183 /** Destroy and unset the overlay reference it if exists */
184 private _destroyOverlay() {
185 if (this.overlayRef) {
186 this.overlayRef.dispose();
187 this.overlayRef = null;
188 }
189 }
190
191 /** Gets the injector to use when creating a child menu. */
192 private _getChildMenuInjector() {

Callers

nothing calls this directly

Calls 1

disposeMethod · 0.65

Tested by

no test coverage detected