labxand-wizard
v0.1.4
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.1.5.
Downloads
12
Readme
LabxandWizard
This library was generated with Angular CLI version 10.1.5.
Code scaffolding
Run ng generate component component-name --project labxand-wizard
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project labxand-wizard
.
Note: Don't forget to add
--project labxand-wizard
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build labxand-wizard
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build labxand-wizard
, go to the dist folder cd dist/labxand-wizard
and run npm publish
.
Running unit tests
Run ng test labxand-wizard
to execute the unit tests via Karma.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
#Author Morsa Moradi
#Using for using you must create a LabxandWizardBase class. you can create diffrent tab with LabxandWizardTab class that take id of tab as argument. you can pass this tab with bound method. this tab show in order. this id and tab define in labxand component. we show at end this help. olso, you can pass multi wizard if you want show in diffrent situation, you can this with boundMultiWizard that take a name and list of tab. in start wizard you can pass name of wizard that you want to show, if start method call without any argument, wizard show default wizard. you can override next action in labxandWizardTab like this:
you can this for actionOnPrevious and close action too.
for html you call this component like this: