stepper.md (material2-7.3.2) | : | stepper.md (material2-7.3.3) | ||
---|---|---|---|---|
skipping to change at line 36 | skipping to change at line 36 | |||
When using a form for each step, the workflow is advanced whenever one of the fo rms is submitted. | When using a form for each step, the workflow is advanced whenever one of the fo rms is submitted. | |||
### Types of steps | ### Types of steps | |||
#### Optional step | #### Optional step | |||
If completion of a step in linear stepper is not required, then the `optional` a ttribute can be set | If completion of a step in linear stepper is not required, then the `optional` a ttribute can be set | |||
on `CdkStep` in a `linear` stepper. | on `CdkStep` in a `linear` stepper. | |||
#### Editable step | #### Editable step | |||
By default, steps are editable, which means users can return to previously compl eted steps and | By default, steps are editable, which means users can return to previously compl eted steps and | |||
edit their responses. `editable="true"` can be set on `CdkStep` to change the de fault. | edit their responses. `editable="false"` can be set on `CdkStep` to change the d efault. | |||
#### Completed step | #### Completed step | |||
By default, the `completed` attribute of a step returns `true` if the step is va lid (in case of | By default, the `completed` attribute of a step returns `true` if the step is va lid (in case of | |||
linear stepper) and the user has interacted with the step. The user, however, ca n also override | linear stepper) and the user has interacted with the step. The user, however, ca n also override | |||
this default `completed` behavior by setting the `completed` attribute as needed . | this default `completed` behavior by setting the `completed` attribute as needed . | |||
### Stepper buttons | ### Stepper buttons | |||
There are two button directives to support navigation between different steps: | There are two button directives to support navigation between different steps: | |||
`CdkStepperNext` and `CdkStepperPrevious`. When placed inside of a step, these w ill automatically | `CdkStepperNext` and `CdkStepperPrevious`. When placed inside of a step, these w ill automatically | |||
add click handlers to advance or rewind the workflow, respectively. | add click handlers to advance or rewind the workflow, respectively. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |