How to use the angular-archwizard.MovingDirection.Stay function in angular-archwizard

To help you get started, we’ve selected a few angular-archwizard examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github madoar / angular-archwizard-demo / src / app / can-exit-event / can-exit-event.component.ts View on Github external
public canExitStep2: (MovingDirection) => boolean = (direction) => {
    switch (direction) {
      case MovingDirection.Forwards:
        return this.canExitStep2Forwards;
      case MovingDirection.Backwards:
        return this.canExitStep2Backwards;
      case MovingDirection.Stay:
        return true;
    }
  };
github madoar / angular-archwizard-demo / src / app / can-enter-event / can-enter-event.component.ts View on Github external
public canEnterStep2: (MovingDirection) => boolean = (direction) => {
    switch (direction) {
      case MovingDirection.Forwards:
        return this.canEnterStep2Forwards;
      case MovingDirection.Backwards:
        return this.canEnterStep2Backwards;
      case MovingDirection.Stay:
        return true;
    }
  };

angular-archwizard

An Angular 9+ module containing a wizard component and its supporting components and directives

MIT
Latest version published 4 years ago

Package Health Score

51 / 100
Full package analysis