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

Function _destroyOverlay

src/material/datepicker/datepicker-base.ts:798–803  ·  view source on GitHub ↗

Destroys the current overlay.

()

Source from the content-addressed store, hash-verified

796
797 /** Destroys the current overlay. */
798 private _destroyOverlay() {
799 if (this._overlayRef) {
800 this._overlayRef.dispose();
801 this._overlayRef = this._componentRef = null;
802 }
803 }
804
805 /** Gets a position strategy that will open the calendar as a dropdown. */
806 private _getDialogStrategy() {

Callers

nothing calls this directly

Calls 1

disposeMethod · 0.65

Tested by

no test coverage detected