mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore(calendar): remove explicit preserveWhitespaces setting (#10761)
This commit is contained in:
committed by
tinayuangao
parent
e85547aa45
commit
34fe17e87e
@@ -40,7 +40,6 @@ import {MatYearView} from './year-view';
|
||||
selector: 'mat-calendar-header',
|
||||
templateUrl: 'calendar-header.html',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
preserveWhitespaces: false,
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class MatCalendarHeader<D> implements OnDestroy {
|
||||
|
||||
+5
-4
@@ -95,11 +95,12 @@
|
||||
],
|
||||
"validate-decorators": [true, {
|
||||
"Component": {
|
||||
"encapsulation": "\\.None$",
|
||||
"moduleId": "^module\\.id$",
|
||||
"changeDetection": "\\.OnPush$",
|
||||
"!host": "\\[class\\]",
|
||||
"!preserveWhitespaces": ".*",
|
||||
"!styles": ".*",
|
||||
"!host": "\\[class\\]"
|
||||
"changeDetection": "\\.OnPush$",
|
||||
"encapsulation": "\\.None$",
|
||||
"moduleId": "^module\\.id$"
|
||||
},
|
||||
"Directive": {
|
||||
"!host": "\\[class\\]"
|
||||
|
||||
Reference in New Issue
Block a user