/ng2-wizard

Primary LanguageTypeScriptMIT LicenseMIT

npm version

WizardComponent

@version 1.0.3.0
@author: Flávio Silva
@link: https://github.com/fssolutions/ng2-wizard

Installation

Wizard runs on angular 2 and is available as an NPM package. You can install ng2-wizard in your project's directory as usual:

$ npm install --save ng2-wizard

Component Wizard(step to step with tabs) for Angular 2.

 <wizard orientation="string [landscape|portrait]" hiddenTabs="string [yes|no]" disableTabs="string [yes|no]" disableSteps="Array [number]" hiddenDisableSteps="string [yes|no]" currentStep="int [number]" (stepChange)="onYourFunction($event)">

Example

Template (.html)

 <wizard orientation="portrait">
  <wizard-step>
    <tab>Title of first tab</tab>
    Hello World
  </wizard-step>
 </wizard>

TypeScript (.ts)

Import WizardComponent and WizardStepComponent

 import { WizardComponent, WizardStepComponent } from 'ng2-wizard';

Add in your directives

 directives: [WizardStepComponent, WizardComponent]

Contributing

Contributions are welcome and appreciated. You can find ng2-combosearch on GitHub, feel free to start an issue or create a pull requests:
https://github.com/fssolutions/ng2-wizard

License

Copyright (c) 2016 Flávio Silva fssolutions.
Licensed under the MIT License (MIT)