(changes: SimpleChanges<this>)
| 558 | } |
| 559 | |
| 560 | ngOnChanges(changes: SimpleChanges<this>) { |
| 561 | const positionChange = changes['xPosition'] || changes['yPosition']; |
| 562 | |
| 563 | if (positionChange && !positionChange.firstChange && this._overlayRef) { |
| 564 | const positionStrategy = this._overlayRef.getConfig().positionStrategy; |
| 565 | |
| 566 | if (positionStrategy instanceof FlexibleConnectedPositionStrategy) { |
| 567 | this._setConnectedPositions(positionStrategy); |
| 568 | |
| 569 | if (this.opened) { |
| 570 | this._overlayRef.updatePosition(); |
| 571 | } |
| 572 | } |
| 573 | } |
| 574 | |
| 575 | this.stateChanges.next(undefined); |
| 576 | } |
| 577 | |
| 578 | ngOnDestroy() { |
| 579 | this._destroyOverlay(); |
nothing calls this directly
no test coverage detected
searching dependent graphs…