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

Method ngOnDestroy

src/material/dialog/dialog-container.ts:238–244  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

236 }
237
238 override ngOnDestroy() {
239 super.ngOnDestroy();
240
241 if (this._animationTimer !== null) {
242 clearTimeout(this._animationTimer);
243 }
244 }
245
246 override attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T> {
247 // When a component is passed into the dialog, the host element interrupts

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected