File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99import { FocusMonitor , FocusOrigin } from '@angular/cdk/a11y' ;
1010import {
11- ChangeDetectionStrategy ,
1211 ChangeDetectorRef ,
1312 Component ,
1413 Input ,
@@ -39,7 +38,6 @@ import {_CdkPrivateStyleLoader, _VisuallyHiddenLoader} from '@angular/cdk/privat
3938 'role' : '' , // ignore cdk role in favor of setting appropriately in html
4039 } ,
4140 encapsulation : ViewEncapsulation . None ,
42- changeDetection : ChangeDetectionStrategy . OnPush ,
4341 imports : [ MatRipple , NgTemplateOutlet , MatIcon ] ,
4442} )
4543export class MatStepHeader extends CdkStepHeader implements AfterViewInit , OnDestroy {
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import {CdkStep, CdkStepper} from '@angular/cdk/stepper';
1010import {
1111 AfterContentInit ,
1212 AfterViewInit ,
13- ChangeDetectionStrategy ,
1413 Component ,
1514 ContentChild ,
1615 ContentChildren ,
@@ -52,7 +51,6 @@ import {MatStepContent} from './step-content';
5251 ] ,
5352 encapsulation : ViewEncapsulation . None ,
5453 exportAs : 'matStep' ,
55- changeDetection : ChangeDetectionStrategy . OnPush ,
5654 imports : [ CdkPortalOutlet ] ,
5755 host : {
5856 'hidden' : '' , // Hide the steps so they don't affect the layout.
@@ -134,7 +132,6 @@ export class MatStep extends CdkStep implements ErrorStateMatcher, AfterContentI
134132 } ,
135133 providers : [ { provide : CdkStepper , useExisting : MatStepper } ] ,
136134 encapsulation : ViewEncapsulation . None ,
137- changeDetection : ChangeDetectionStrategy . OnPush ,
138135 imports : [ NgTemplateOutlet , MatStepHeader ] ,
139136} )
140137export class MatStepper extends CdkStepper implements AfterViewInit , AfterContentInit , OnDestroy {
You can’t perform that action at this time.
0 commit comments