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

Method ngOnDestroy

src/material/list/selection-list.ts:203–209  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

201 }
202
203 ngOnDestroy() {
204 this._keyManager?.destroy();
205 this._listenerCleanups?.forEach(current => current());
206 this._destroyed.next();
207 this._destroyed.complete();
208 this._isDestroyed = true;
209 }
210
211 /** Focuses the selection list. */
212 focus(options?: FocusOptions) {

Callers

nothing calls this directly

Calls 2

destroyMethod · 0.65
nextMethod · 0.45

Tested by

no test coverage detected