()
| 433 | } |
| 434 | |
| 435 | ngAfterContentInit() { |
| 436 | this._calendarHeaderPortal = new ComponentPortal(this.headerComponent || MatCalendarHeader); |
| 437 | this.activeDate = this.startAt || this._dateAdapter.today(); |
| 438 | |
| 439 | // Assign to the private property since we don't want to move focus on init. |
| 440 | this._currentView = this.startView; |
| 441 | } |
| 442 | |
| 443 | ngAfterViewChecked() { |
| 444 | if (this._moveFocusOnNextTick) { |