angular-archwizard
Version:
An Angular 9+ module containing a wizard component and its supporting components and directives
32 lines (31 loc) • 863 B
TypeScript
import { EventEmitter } from '@angular/core';
import { WizardComponent } from '../components/wizard.component';
/**
* 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;
}