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