import {CdkStepperModule} from '@angular/cdk/stepper';
CdkStep
Selector: cdk-step
Exported as: cdkStepName | Description |
---|---|
@Input()
| Whether step is marked as completed. |
@Input()
| Whether the user can return to this step once it has been marked as complted. |
@Input()
| Label of the step. |
@Input()
| Whether the completion of step is optional. |
@Input()
| The top level abstract control of the step. |
| Template for step content. |
| Whether user has seen the expanded step content or not. |
| Template for step label if it exists. |
reset | |
---|---|
Resets the step to its initial state. Note that this includes resetting form data. |
select | |
---|---|
Selects this step component. |
CdkStepper
Selector: [cdkStepper]
Exported as: cdkStepperName | 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 selected step has changed. |
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. |
CdkStepLabel
Selector: [cdkStepLabel]
CdkStepperNext
Button that moves to the next step in a stepper workflow.
Selector: button[cdkStepperNext]
Name | Description |
---|---|
@Input()
| Type of the next button. Defaults to "submit" if not specified. |
CdkStepperPrevious
Button that moves to the previous step in a stepper workflow.
Selector: button[cdkStepperPrevious]
Name | Description |
---|---|
@Input()
| Type of the previous button. Defaults to "button" if not specified. |
StepperSelectionEvent
Change event emitted on selection changes.
Name | Description |
---|---|
| Index of the step previously selected. |
| The step instance previously selected. |
| Index of the step now selected. |
| The step instance now selected. |