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

Method ngOnDestroy

src/cdk/layout/breakpoints-observer.ts:53–56  ·  view source on GitHub ↗

Completes the active subject, signalling to all other observables to complete.

()

Source from the content-addressed store, hash-verified

51
52 /** Completes the active subject, signalling to all other observables to complete. */
53 ngOnDestroy() {
54 this._destroySubject.next();
55 this._destroySubject.complete();
56 }
57
58 /**
59 * Whether one or more media queries match the current viewport size.

Callers 1

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected