@rg-software/angular-archwizard
Version:
A fork of the Angular Arch Wizard adapted for angular versions 17+.
35 lines (34 loc) • 1.13 kB
TypeScript
import { EventEmitter } from '@angular/core';
import { WizardComponent } from '../components/wizard.component';
import * as i0 from "@angular/core";
/**
* The `awResetWizard` directive can be used to reset the wizard to its initial state.
* This directive accepts an output, which can be used to specify some custom cleanup work during the reset process.
*
* ### Syntax
*
* ```html
* <button awResetWizard (finalize)="custom reset task">...</button>
* ```
*
* @author Marc Arndt
*/
export declare class ResetWizardDirective {
private wizard;
/**
* An [[EventEmitter]] containing some tasks to be done, directly before the wizard is being reset
*/
finalize: EventEmitter<void>;
/**
* Constructor
*
* @param wizard The wizard component
*/
constructor(wizard: WizardComponent);
/**
* Resets the wizard
*/
onClick(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ResetWizardDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<ResetWizardDirective, "[awResetWizard]", never, {}, { "finalize": "finalize"; }, never, never, false, never>;
}