()
| 625 | } |
| 626 | |
| 627 | ngOnInit() { |
| 628 | this._selectionModel = new SelectionModel<MatOption>(this.multiple); |
| 629 | this.stateChanges.next(); |
| 630 | this._viewportRuler |
| 631 | .change() |
| 632 | .pipe(takeUntil(this._destroy)) |
| 633 | .subscribe(() => { |
| 634 | if (this.panelOpen) { |
| 635 | this._overlayWidth = this._getOverlayWidth(this._preferredOverlayOrigin); |
| 636 | this._changeDetectorRef.detectChanges(); |
| 637 | } |
| 638 | }); |
| 639 | } |
| 640 | |
| 641 | ngAfterContentInit() { |
| 642 | this._initialized.next(); |
nothing calls this directly
no test coverage detected