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

Function ngOnDestroy

src/material/tabs/paginated-tab-header.ts:327–333  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

325 }
326
327 ngOnDestroy() {
328 this._eventCleanups.forEach(cleanup => cleanup());
329 this._keyManager?.destroy();
330 this._destroyed.next();
331 this._destroyed.complete();
332 this._stopScrolling.complete();
333 }
334
335 /** Handles keyboard events on the header. */
336 _handleKeydown(event: KeyboardEvent) {

Callers

nothing calls this directly

Calls 3

cleanupFunction · 0.85
destroyMethod · 0.65
nextMethod · 0.45

Tested by

no test coverage detected