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

Method ngOnDestroy

src/material/timepicker/timepicker.ts:309–314  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

307 }
308
309 ngOnDestroy(): void {
310 this._keyManager.destroy();
311 this._localeChanges?.unsubscribe();
312 this._onOpenRender?.destroy();
313 this._overlayRef?.dispose();
314 }
315
316 _getOverlayHost() {
317 return this._overlayRef?.hostElement;

Callers

nothing calls this directly

Calls 2

destroyMethod · 0.65
disposeMethod · 0.65

Tested by

no test coverage detected