I think it's useful to let use active a substep after enter the step, so the first substep (or specified substep) is active at first, then can be hidden after. e.g. we can show a slogan at first, then replacing it with actually content.
I thought of some way:
- add attribute
data-substep-active/data-substep-active=<substep-idx> to step element
- add attribute
data-substep-active to a substep element
- add class
substep-auto-active to a substep element
I think it's useful to let use active a substep after enter the step, so the first substep (or specified substep) is active at first, then can be hidden after. e.g. we can show a slogan at first, then replacing it with actually content.
I thought of some way:
data-substep-active/data-substep-active=<substep-idx>tostepelementdata-substep-activeto asubstepelementsubstep-auto-activeto asubstepelement