@angular/material
Version:
Angular Material
27 lines (26 loc) • 1.31 kB
TypeScript
import { CdkStep, CdkStepper } from '@angular/cdk/stepper';
import { ElementRef, QueryList } from '@angular/core';
import { FormControl, FormGroupDirective, NgForm } from '@angular/forms';
import { ErrorStateMatcher } from '@angular/material/core';
import { MatStepLabel } from './step-label';
/** Workaround for https://github.com/angular/angular/issues/17849 */
export declare const _MatStep: typeof CdkStep;
export declare const _MatStepper: typeof CdkStepper;
export declare class MatStep extends _MatStep implements ErrorStateMatcher {
private _errorStateMatcher;
/** Content for step label given by <ng-template matStepLabel>. */
stepLabel: MatStepLabel;
constructor(stepper: MatStepper, _errorStateMatcher: ErrorStateMatcher);
/** Custom error state matcher that additionally checks for validity of interacted form. */
isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
}
export declare class MatStepper extends _MatStepper {
/** The list of step headers of the steps in the stepper. */
_stepHeader: QueryList<ElementRef>;
/** Steps that the stepper holds. */
_steps: QueryList<MatStep>;
}
export declare class MatHorizontalStepper extends MatStepper {
}
export declare class MatVerticalStepper extends MatStepper {
}