@logo-software/wizard
v11.0.0
Published
Wizard library create business flow paths for your users.
Downloads
5
Readme
Wizard Module
An easy-to-use light-weight angular library to handle multi-paths wizards (and simple wizards too) and navigate into them.
Click here for demo
Installation
All public npm packages of Logo Software is at https://www.npmjs.com/~logofe. To install Wizard Module:
$ npm set registry https://registry.npmjs.org/
$ npm install @logo-software/wizard -s
Just import it to your project of @NgModule
import section.
import {WizardModule} from '@logo-software/wizard';
@NgModule({
imports: [CommonModule, WizardModule],
})
export class AppModule {
}
Wizard Component
Wizard library create business flow paths for your users. Add the below code to your code stack and give initializer parameters.
app.component.html
<logo-wizard
[activeStep]="0"
[cssClasses]="'my-own-wizard-class'"
[routing]="true"
[isVertical]="true"
(stepChange)="yourChangeTrigger($event)"
(tabEvent)="yourTabEvent($event)"
>
<logo-step title="one">content of wizard step one</logo-step>
<logo-step title="two">content of wizard step two</logo-step>
</logo-wizard>
Footer
Add your own footer contents to the footer element of the wizard. For example:
app.component.html
<logo-wizard>
<logo-step title="one">content of wizard step one</logo-step>
<div footer>My own footer content</div>
</logo-wizard>
For API details, please visit http://design.logo.com.tr/#/docs/components/components-overview