UNPKG

angular2-wizard-angular-material

Version:

This is an Angular2 Form Wizard component. Just like any form wizard. You can define steps and control how each step works. You can enable/disable navigation button based on validity of the current step. Currently, the component only support basic functio

30 lines (27 loc) 746 B
import { NgModule, CUSTOM_ELEMENTS_SCHEMA, ModuleWithProviders } from '@angular/core'; import { CommonModule } from '@angular/common'; import { WizardComponent } from './src/wizard.component'; import { WizardStepComponent } from './src/wizard-step.component'; export * from './src/wizard.component'; export * from './src/wizard-step.component'; @NgModule({ imports: [ CommonModule ], declarations: [ WizardComponent, WizardStepComponent ], exports: [ WizardComponent, WizardStepComponent ], schemas: [CUSTOM_ELEMENTS_SCHEMA] }) export class FormWizardModule { static forRoot(): ModuleWithProviders { return { ngModule: FormWizardModule }; } }