CdkStepper provides behavior for multi-step workflows.
Installation
Basic Usage
With Forms
API Reference
CdkStepper
| Property | Type | Description |
|---|---|---|
selectedIndex | number | Current step index |
linear | boolean | Require completion in order |
| Method | Returns | Description |
|---|---|---|
next() | void | Go to next step |
previous() | void | Go to previous step |
reset() | void | Reset stepper |
CdkStep
| Input | Type | Description |
|---|---|---|
stepControl | AbstractControl | Form control for validation |
optional | boolean | Whether step is optional |
completed | boolean | Mark as completed |