angular-sppoti-wizard
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

SppotiWizard

npm version Codacy Badge

This project was generated with Angular CLI version 1.6.5.

This wizard support Bootstrap 3 & 4

DOWNLOAD

npm install angular-sppoti-wizard

Add wizard

First: Import the module

...
 imports: [
    BrowserModule,
    // Import wizard
    SppotiWizardModule.forRoot()
  ]
...

Second: Add the directive to your component

<sppoti-wizard></sppoti-wizard>

Third: Add steps inside the previous directive

...
<sppoti-wizard>
    <wizard-step [title]="" [isValid]="" (onNext)="" (onPrev)="" (onComplete)="" ></wizard-step>
<sppoti-wizard>
...

Input and Output

INPUT

title: string

isValid: function()

OUTPUT

onNext: function()

onPrev: function()

onComplete: function() | only for the last step

Demo

---> https://dzcorps.github.io/sppoti-wizard/

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

CONTRIBUTE

Fork project and help improve this module

Readme

Keywords

none

Package Sidebar

Install

npm i angular-sppoti-wizard

Weekly Downloads

9

Version

1.0.8

License

MIT

Unpacked Size

81.1 kB

Total Files

17

Last publish

Collaborators

  • piratusse