0

Hello im using mat stepper..

What i want to achieve is:

get step number from request param and show second step like this: http://localhost:4200/matstepper?step=2

Pass and retrieve request param is no problem, but how can i show second or third step?

is this possible? thanks..

1 Answers1

0

You can set the selectedIndex property on the stepper:

<mat-stepper [selectedIndex]="calculatedStepIndex">...</mat-stepper>
Alexander
  • 3,019
  • 1
  • 20
  • 24