maiyaporn / angular2-wizard

Angular2 - Form Wizard Component
118 stars 119 forks source link

how to active steps from compontent? #59

Open singhdee opened 6 years ago

singhdee commented 6 years ago

i want to move step one to another from .ts file or from one step to random step on button click. any help?

SOUFIANEINPT commented 5 years ago

you can use Viewchild to force WizardComponent use any refrence of WizardStepComponent from ur component (WizardComponent has propotie activeStep) there also onStepChange() function output can be useful also .