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

Method ngOnDestroy

src/cdk/menu/menu-aim.ts:131–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129 private readonly _destroyed: Subject<void> = new Subject();
130
131 ngOnDestroy() {
132 this._cleanupMousemove?.();
133 this._destroyed.next();
134 this._destroyed.complete();
135 }
136
137 /**
138 * Set the Menu and its PointerFocusTracker.

Callers

nothing calls this directly

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected