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

Method updatePosition

src/cdk/overlay/overlay-ref.ts:325–329  ·  view source on GitHub ↗

Updates the position of the overlay based on the position strategy.

()

Source from the content-addressed store, hash-verified

323
324 /** Updates the position of the overlay based on the position strategy. */
325 updatePosition(): void {
326 if (this._positionStrategy) {
327 this._positionStrategy.apply();
328 }
329 }
330
331 /** Switches to a new position strategy and updates the overlay position. */
332 updatePositionStrategy(strategy: PositionStrategy): void {

Callers 7

attachMethod · 0.95
overlay.spec.tsFile · 0.45
enableMethod · 0.45
enableMethod · 0.45

Calls 1

applyMethod · 0.65

Tested by

no test coverage detected