UNPKG

@rg-software/angular-archwizard

Version:
32 lines (31 loc) 965 B
import { OnInit } from '@angular/core'; import { WizardStep } from '../util/wizard-step.interface'; import * as i0 from "@angular/core"; /** * The `awSelectedStep` directive can be used on a [[WizardStep]] to set it as selected after the wizard initialisation or a reset. * * ### Syntax * * ```html * <aw-wizard-step stepTitle="Step title" awSelectedStep> * ... * </aw-wizard-step> * ``` * * @author Marc Arndt */ export declare class SelectedStepDirective implements OnInit { private wizardStep; /** * Constructor * * @param wizardStep The wizard step, which should be selected by default */ constructor(wizardStep: WizardStep); /** * Initialization work */ ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<SelectedStepDirective, [{ host: true; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<SelectedStepDirective, "[awSelectedStep]", never, {}, {}, never, never, false, never>; }