import {MatStepperModule} from '@angular/material/stepper';
MatStepperIntl
Stepper data that is required for internationalization.
Name | Description |
---|---|
|
Stream that emits whenever the labels here are changed. Use this to notify components if the labels have changed after initialization. |
|
Label that is rendered below optional steps. |
MatStepLabel
extends
CdkStepLabel
Selector: [matStepLabel]
MatStep
extends
CdkStep
Selector: mat-step
Exported as: matStepName | Description |
---|---|
@Input('aria-label')
|
Aria label for the tab. |
@Input('aria-labelledby')
|
Reference to the element that the tab is labelled by.
Will be cleared if |
@Input()
|
Whether step is marked as completed. |
@Input()
|
Whether the user can return to this step once it has been marked as completed. |
@Input()
|
Error message to display when there's an error. |
@Input()
|
Whether step has an error. |
@Input()
|
Plain text label of the step. |
@Input()
|
Whether the completion of step is optional. |
@Input()
|
State of the step. |
@Input()
|
The top level abstract control of the step. |
|
Template for step content. |
|
Whether user has seen the expanded step content or not. |
|
Content for step label given by |
isErrorState | |
---|---|
Custom error state matcher that additionally checks for validity of interacted form. |
|
Parameters | |
control FormControl
|
|
form NgForm | FormGroupDirective
|
|
Returns | |
boolean
|
|
reset | |
---|---|
Resets the step to its initial state. Note that this includes resetting form data. |
select | |
---|---|
Selects this step component. |
MatStepper
extends
CdkStepper
Selector: [matStepper]
Name | Description |
---|---|
@Input()
|
Whether the validity of previous steps should be checked or not. |
@Input()
|
The step that is selected. |
@Input()
|
The index of the selected step. |
@Output()
|
Event emitted when the current step is done transitioning in. |
@Output()
|
Event emitted when the selected step has changed. |
|
The list of step components that the stepper is holding. |
next | |
---|---|
Selects and focuses the next step in list. |
previous | |
---|---|
Selects and focuses the previous step in list. |
reset | |
---|---|
Resets the stepper to its initial state. Note that this includes clearing form data. |
MatHorizontalStepper
extends
MatStepper
Selector: mat-horizontal-stepper
Exported as: matHorizontalStepperName | Description |
---|---|
@Input()
|
Whether the label should display in bottom or end position. |
@Input()
|
Whether the validity of previous steps should be checked or not. |
@Input()
|
The step that is selected. |
@Input()
|
The index of the selected step. |
@Output()
|
Event emitted when the current step is done transitioning in. |
@Output()
|
Event emitted when the selected step has changed. |
|
The list of step components that the stepper is holding. |
next | |
---|---|
Selects and focuses the next step in list. |
previous | |
---|---|
Selects and focuses the previous step in list. |
reset | |
---|---|
Resets the stepper to its initial state. Note that this includes clearing form data. |
MatVerticalStepper
extends
MatStepper
Selector: mat-vertical-stepper
Exported as: matVerticalStepperName | Description |
---|---|
@Input()
|
Whether the validity of previous steps should be checked or not. |
@Input()
|
The step that is selected. |
@Input()
|
The index of the selected step. |
@Output()
|
Event emitted when the current step is done transitioning in. |
@Output()
|
Event emitted when the selected step has changed. |
|
The list of step components that the stepper is holding. |
next | |
---|---|
Selects and focuses the next step in list. |
previous | |
---|---|
Selects and focuses the previous step in list. |
reset | |
---|---|
Resets the stepper to its initial state. Note that this includes clearing form data. |
MatStepperNext
extends
CdkStepperNext
Button that moves to the next step in a stepper workflow.
Selector: button[matStepperNext]
Name | Description |
---|---|
@Input()
|
Type of the next button. Defaults to "submit" if not specified. |
MatStepperPrevious
extends
CdkStepperPrevious
Button that moves to the previous step in a stepper workflow.
Selector: button[matStepperPrevious]
Name | Description |
---|---|
@Input()
|
Type of the previous button. Defaults to "button" if not specified. |
MatStepHeader
extends
CdkStepHeader
Selector: mat-step-header
Name | Description |
---|---|
@Input()
|
Whether the given step label is active. |
@Input()
|
Error message to display when there's an error. |
@Input()
|
Overrides for the header icons, passed in via the stepper. |
@Input()
|
Index of the given step. |
@Input()
|
Label of the given step. |
@Input()
|
Whether the given step is optional. |
@Input()
|
Whether the given step is selected. |
@Input()
|
State of the given step. |
focus | |
---|---|
Focuses the step header. |
MatStepperIcon
Template to be used to override the icons inside the step header.
Selector: ng-template[matStepperIcon]
Name | Description |
---|---|
@Input('matStepperIcon')
|
Name of the icon to be overridden. |
|
MatStepperIconContext
Template context available to an attached matStepperIcon
.
Name | Description |
---|---|
|
Whether the step is currently active. |
|
Index of the step. |
|
Whether the step is optional. |