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

Method ngOnDestroy

src/google-maps/map-rectangle/map-rectangle.ts:188–193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

186 }
187
188 ngOnDestroy() {
189 this._eventManager.destroy();
190 this._destroyed.next();
191 this._destroyed.complete();
192 this.rectangle?.setMap(null);
193 }
194
195 /**
196 * See

Callers

nothing calls this directly

Calls 2

destroyMethod · 0.65
nextMethod · 0.45

Tested by

no test coverage detected