fix(datepicker): add missing exportAs (#7782)

This commit is contained in:
mmalerba
2017-11-07 09:56:16 -08:00
committed by Joey Perrott
parent 9b88aac155
commit d6d9ff8f79
6 changed files with 6 additions and 0 deletions
+1
View File
@@ -40,6 +40,7 @@ export class MatCalendarCell {
host: {
'class': 'mat-calendar-body',
},
exportAs: 'matCalendarBody',
encapsulation: ViewEncapsulation.None,
preserveWhitespaces: false,
changeDetection: ChangeDetectionStrategy.OnPush,
+1
View File
@@ -56,6 +56,7 @@ import {MatYearView} from './year-view';
host: {
'class': 'mat-calendar',
},
exportAs: 'matCalendar',
encapsulation: ViewEncapsulation.None,
preserveWhitespaces: false,
changeDetection: ChangeDetectionStrategy.OnPush,
+1
View File
@@ -32,6 +32,7 @@ import {MatDatepickerIntl} from './datepicker-intl';
host: {
'class': 'mat-datepicker-toggle',
},
exportAs: 'matDatepickerToggle',
encapsulation: ViewEncapsulation.None,
preserveWhitespaces: false,
changeDetection: ChangeDetectionStrategy.OnPush,
+1
View File
@@ -84,6 +84,7 @@ export const MAT_DATEPICKER_SCROLL_STRATEGY_PROVIDER = {
'[class.mat-datepicker-content-touch]': 'datepicker.touchUi',
'(keydown)': '_handleKeydown($event)',
},
exportAs: 'matDatepickerContent',
encapsulation: ViewEncapsulation.None,
preserveWhitespaces: false,
changeDetection: ChangeDetectionStrategy.OnPush,
+1
View File
@@ -34,6 +34,7 @@ const DAYS_PER_WEEK = 7;
moduleId: module.id,
selector: 'mat-month-view',
templateUrl: 'month-view.html',
exportAs: 'matMonthVeiw',
encapsulation: ViewEncapsulation.None,
preserveWhitespaces: false,
changeDetection: ChangeDetectionStrategy.OnPush,
+1
View File
@@ -31,6 +31,7 @@ import {createMissingDateImplError} from './datepicker-errors';
moduleId: module.id,
selector: 'mat-year-view',
templateUrl: 'year-view.html',
exportAs: 'matYearView',
encapsulation: ViewEncapsulation.None,
preserveWhitespaces: false,
changeDetection: ChangeDetectionStrategy.OnPush,