ng-san-stepper
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

SanStepper

Maintainability Build Status Test Coverage

Angular Steppers directive for Angular Material

Based on Material Steppers: https://material.angular.io/components/stepper/overview#error-state

USAGE

Installation in package.json

npm i -S ng-san-stepper

note: works with angular >= 2

Import to app module

import { SanStepperModule } from 'ng-san-stepper';
 
@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    SanStepperModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Write your html

<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>

Stepper Options

Detailed service operations bellow:

TODO

  • 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.

Remarks

Readme

Keywords

Package Sidebar

Install

npm i ng-san-stepper

Weekly Downloads

3

Version

0.0.2

License

MIT

Unpacked Size

3.85 MB

Total Files

699

Last publish

Collaborators

  • reiosantos