feat(stepper): allow disabling ripples of headers (#14972)

* Adds a way for developers to disable ripples of the `MatStepHeader`. This is useful because currently developers have no way of specifically disabling ripples for a stepper (only disabling globally is possible)

Closes #14940.
This commit is contained in:
Paul Gschwendtner
2019-01-30 23:00:35 +01:00
committed by mmalerba
parent cd72c9dc85
commit a6cc98fa6e
10 changed files with 63 additions and 10 deletions
+2
View File
@@ -19,6 +19,7 @@ export declare class MatStep extends CdkStep implements ErrorStateMatcher {
export declare class MatStepHeader extends CdkStepHeader implements OnDestroy {
_intl: MatStepperIntl;
active: boolean;
disableRipple: boolean;
errorMessage: string;
iconOverrides: {
[key: string]: TemplateRef<MatStepperIconContext>;
@@ -49,6 +50,7 @@ export declare class MatStepper extends CdkStepper implements AfterContentInit {
_stepHeader: QueryList<MatStepHeader>;
_steps: QueryList<MatStep>;
readonly animationDone: EventEmitter<void>;
disableRipple: boolean;
ngAfterContentInit(): void;
}