MCPcopy
hub / github.com/angular/components / updatePosition

Method updatePosition

src/cdk/dialog/dialog-ref.ts:119–122  ·  view source on GitHub ↗

Updates the position of the dialog based on the current position strategy.

()

Source from the content-addressed store, hash-verified

117
118 /** Updates the position of the dialog based on the current position strategy. */
119 updatePosition(): this {
120 this.overlayRef.updatePosition();
121 return this;
122 }
123
124 /**
125 * Updates the dialog's width and height.

Callers 4

togglePositionMethod · 0.45
togglePositionMethod · 0.45
_cleanUpAfterResizeFunction · 0.45
_openMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected