Angular Steppers directive for Angular Material
Based on Material Steppers: https://material.angular.io/components/stepper/overview#error-state
npm i -S ng-san-stepper
note: works with angular >= 2
import { SanStepperModule } from 'ng-san-stepper';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
SanStepperModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
<san-stepper (stepSubmit)="onSubmit($event)">
<your-first-step #step></your-first-step>
<your-second-step #step></your-second-step>
.....
<your-last-step #step></your-last-step>
</san-stepper>
Detailed service operations bellow:
- Horizontal steppers
- Linear steppers
- Vertical steppers
- Non-linear steppers
- Alternative labels
- Optional steps
- Editable steps
- Stepper feedback
- Custom Css Classes
- Create a better demo page with all options.
-
Based on:
-
Thanks to all ;)