"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lib/datepicker/calendar.ts" between
material2-7.3.3.tar.gz and material2-7.3.4.tar.gz

About: material2 offers Material Design components for Angular.

calendar.ts  (material2-7.3.3):calendar.ts  (material2-7.3.4)
skipping to change at line 265 skipping to change at line 265
@ViewChild(MatMultiYearView) multiYearView: MatMultiYearView<D>; @ViewChild(MatMultiYearView) multiYearView: MatMultiYearView<D>;
/** /**
* The current active date. This determines which time period is shown and whi ch date is * The current active date. This determines which time period is shown and whi ch date is
* highlighted when using keyboard navigation. * highlighted when using keyboard navigation.
*/ */
get activeDate(): D { return this._clampedActiveDate; } get activeDate(): D { return this._clampedActiveDate; }
set activeDate(value: D) { set activeDate(value: D) {
this._clampedActiveDate = this._dateAdapter.clampDate(value, this.minDate, t his.maxDate); this._clampedActiveDate = this._dateAdapter.clampDate(value, this.minDate, t his.maxDate);
this.stateChanges.next(); this.stateChanges.next();
this._changeDetectorRef.markForCheck();
} }
private _clampedActiveDate: D; private _clampedActiveDate: D;
/** Whether the calendar is in month view. */ /** Whether the calendar is in month view. */
get currentView(): MatCalendarView { return this._currentView; } get currentView(): MatCalendarView { return this._currentView; }
set currentView(value: MatCalendarView) { set currentView(value: MatCalendarView) {
this._currentView = value; this._currentView = value;
this._moveFocusOnNextTick = true; this._moveFocusOnNextTick = true;
this._changeDetectorRef.markForCheck();
} }
private _currentView: MatCalendarView; private _currentView: MatCalendarView;
/** /**
* Emits whenever there is a state change that the header may need to respond to. * Emits whenever there is a state change that the header may need to respond to.
*/ */
stateChanges = new Subject<void>(); stateChanges = new Subject<void>();
constructor(_intl: MatDatepickerIntl, constructor(_intl: MatDatepickerIntl,
@Optional() private _dateAdapter: DateAdapter<D>, @Optional() private _dateAdapter: DateAdapter<D>,
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)