core/stepper/stepper.model.ts
Steps of a stepper component.
Example:
providers: [{
provide: HOOK_STEPPER,
useValue: {
id: Steppers.SETUP,
label: 'Register devices',
component: YourRegisterDeviceForm,
priority: -1000
},
multi: true
}]
Properties |
injector |
injector:
|
Type : Injector
|
Optional |
The injector to use. If not set, default injector will be used. |
label |
label:
|
Type : string
|
Optional |
The label to display. |
priority |
priority:
|
Type : number
|
Optional |
High priority will show the step sooner, low priority will show the step later. All hooked step are ordered first by priority then by name. |
required |
required:
|
Type : boolean
|
Optional |
Marks the step as required to complete the stepper. |
stepperId |
stepperId:
|
Type : string
|
The id of the stepper outlet where the step should be attached to. |