maiyaporn / angular2-wizard

Angular2 - Form Wizard Component
118 stars 119 forks source link

Can we use another button click to move to next step. Instead of clicking on the next button at the bottom? #8

Closed sanuradhag closed 7 years ago

maiyaporn commented 7 years ago

Right now, there are only two ways to navigate btw step

There is no public method you can call to change the step at this time. Feel feel to create a PR if you have a solution.

sanuradhag commented 7 years ago

next(), previous() are public methods. So by using a local variable (#form-wizard), I can call those two methods when ever I want.. And that is working fine. Thanks

maiyaporn commented 7 years ago

Thanks for the update. I guess I'm starting to forget my own code after I'm away for a few weeks. Haha