@y3krulez/angular-archwizard
Version:
The port of angular-archwizard, supporting IVY and thus being compatible with Angular16+
46 lines (45 loc) • 1.53 kB
TypeScript
import { EventEmitter, OnInit } from '@angular/core';
import { MovingDirection } from '../util/moving-direction.enum';
import { WizardCompletionStep } from '../util/wizard-completion-step.interface';
import * as i0 from "@angular/core";
/**
* The `awEnableBackLinks` directive can be used to allow the user to leave a [[WizardCompletionStep]] after is has been entered.
*
* ### Syntax
*
* ```html
* <aw-wizard-completion-step awEnableBackLinks (stepExit)="exit function">
* ...
* </aw-wizard-completion-step>
* ```
*
* ### Example
*
* ```html
* <aw-wizard-completion-step stepTitle="Final step" awEnableBackLinks>
* ...
* </aw-wizard-completion-step>
* ```
*
* @author Marc Arndt
*/
export declare class EnableBackLinksDirective implements OnInit {
private completionStep;
/**
* This EventEmitter is called when the step is exited.
* The bound method can be used to do cleanup work.
*/
stepExit: EventEmitter<MovingDirection>;
/**
* Constructor
*
* @param completionStep The wizard completion step, which should be exitable
*/
constructor(completionStep: WizardCompletionStep);
/**
* Initialization work
*/
ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<EnableBackLinksDirective, [{ host: true; }]>;
static ɵdir: i0.ɵɵDirectiveDeclaration<EnableBackLinksDirective, "[awEnableBackLinks]", never, {}, { "stepExit": "stepExit"; }, never, never, false, never>;
}