chore(api): update outputs (#7135)

This commit is contained in:
Austin
2017-10-03 17:51:09 -05:00
committed by Kara
parent 2b3d795b00
commit ed338a3d8a
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
[selected]="selected"
[dateFilter]="_dateFilterForViews"
(selectedChange)="_dateSelected($event)"
(userSelection)="_userSelected()">
(_userSelection)="_userSelected()">
</mat-month-view>
<mat-year-view
+2 -2
View File
@@ -98,7 +98,7 @@ export class MatCalendar<D> implements AfterContentInit, OnDestroy, OnChanges {
@Output() selectedChange = new EventEmitter<D>();
/** Emits when any date is selected. */
@Output() userSelection = new EventEmitter<void>();
@Output() _userSelection = new EventEmitter<void>();
/** Reference to the current month view component. */
@ViewChild(MatMonthView) monthView: MatMonthView<D>;
@@ -197,7 +197,7 @@ export class MatCalendar<D> implements AfterContentInit, OnDestroy, OnChanges {
}
_userSelected(): void {
this.userSelection.emit();
this._userSelection.emit();
}
/** Handles month selection in the year view. */
+1 -1
View File
@@ -7,5 +7,5 @@
[dateFilter]="datepicker._dateFilter"
[selected]="datepicker._selected"
(selectedChange)="datepicker._select($event)"
(userSelection)="datepicker.close()">
(_userSelection)="datepicker.close()">
</mat-calendar>
+2 -2
View File
@@ -70,7 +70,7 @@ export class MatMonthView<D> implements AfterContentInit {
@Output() selectedChange = new EventEmitter<D | null>();
/** Emits when any date is selected. */
@Output() userSelection = new EventEmitter<void>();
@Output() _userSelection = new EventEmitter<void>();
/** The label for this month (e.g. "January 2017"). */
_monthLabel: string;
@@ -130,7 +130,7 @@ export class MatMonthView<D> implements AfterContentInit {
this.selectedChange.emit(selectedDate);
}
this.userSelection.emit();
this._userSelection.emit();
}
/** Initializes this month view. */