UNPKG

@rg-software/angular-archwizard

Version:
42 lines (41 loc) 1.24 kB
import { OnInit } from '@angular/core'; import { WizardStep } from '../util/wizard-step.interface'; import * as i0 from "@angular/core"; /** * The `awOptionalStep` directive can be used to define an optional `wizard-step`. * An optional wizard step is a [[WizardStep]] that doesn't need to be completed to transition to later wizard steps. * * ### Syntax * * ```html * <aw-wizard-step awOptionalStep> * ... * </aw-wizard-step> * ``` * * ### Example * * ```html * <aw-wizard-step stepTitle="Second step" awOptionalStep> * ... * </aw-wizard-step> * ``` * * @author Marc Arndt */ export declare class OptionalStepDirective implements OnInit { private wizardStep; optional: boolean; /** * Constructor * * @param wizardStep The wizard step, which contains this [[OptionalStepDirective]] */ constructor(wizardStep: WizardStep); /** * Initialization work */ ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<OptionalStepDirective, [{ host: true; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<OptionalStepDirective, "[awOptionalStep]", never, { "optional": { "alias": "awOptionalStep"; "required": false; }; }, {}, never, never, false, never>; }