MCPcopy Index your code
hub / github.com/angular/components / ngOnChanges

Method ngOnChanges

src/cdk/menu/menu-trigger.ts:148–152  ·  view source on GitHub ↗
(changes: SimpleChanges<this>)

Source from the content-addressed store, hash-verified

146 }
147
148 ngOnChanges(changes: SimpleChanges<this>) {
149 if (changes['menuPosition'] && this.overlayRef) {
150 this.overlayRef.updatePositionStrategy(this._getOverlayPositionStrategy());
151 }
152 }
153
154 override ngOnDestroy(): void {
155 this._cleanupMouseenter();

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected