Updates the position of the overlay based on the position strategy.
()
| 350 | |
| 351 | /** Updates the position of the overlay based on the position strategy. */ |
| 352 | updatePosition(): void { |
| 353 | if (this._positionStrategy) { |
| 354 | this._positionStrategy.apply(); |
| 355 | } |
| 356 | } |
| 357 | |
| 358 | /** Switches to a new position strategy and updates the overlay position. */ |
| 359 | updatePositionStrategy(strategy: PositionStrategy): void { |
no test coverage detected