This is an Angular2 Form Wizard component. Just like any form wizard. You can define steps and control how each step works. You can enable/disable navigation button based on validity of the current step. Currently, the component only support basic functionality. More features will come later.
You can checkout the demo below and see how to use it in the next section.
- Angular2 (tested with 2.3.1)
- Bootstrap 4
After installing the above dependencies, install angular2-wizard via:
$ npm install angular2-wizard --save
How to use the component
Once you have installed the library, you can import it in
AppModule of your application:
;;;// Import your library;
Once your library is imported, you can use form-wizard and wizard-step components in your Angular application:
Step1Email addressWe'll never share your email with anyone else.Step2Step3Step4Thank you! You have completed all the steps.
To generate all
$ npm run tsc
To lint all
$ npm run lint
- Click title to navigate
- Hide/Show navigation button
- Disable visited steps after navigate to previous
- Dynamically add/remove step
MIT © Maiyaporn Phanich