https://github.com/hsierra00/chronos-angular-wizard-form this is a forked from https://github.com/maiyaporn/angular2-wizard
npm install chronos-angular-wizard-formbash
$ 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:
`typescript
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
// Import your library
import { FormWizardModule } from 'angular2-wizard';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
// Specify the library as an import
FormWizardModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
`
Once your library is imported, you can use form-wizard and wizard-step components in your Angular application:
`xml
Step1
Step2
Step3
Step4
Thank you! You have completed all the steps.
`
Document
https://github.com/maiyaporn/angular2-wizard/wiki
Development
To generate all .js, .js.map and *.d.ts files:
`bash
$ npm run tsc
`
To lint all *.ts files:
`bash
$ npm run lint
``