interface WizardStep {
    beforeBack?(): Promise<boolean>;
    beforeCancel?(): Promise<boolean>;
    onCurrentStep?(details: WizardStepChange): void;
}

Methods

  • A callback that runs before the wizard moves back a step from this current step.

    Returns Promise<boolean>

    A promise that resolves to a boolean indicating whether the wizard should move back a step.

  • A callback that runs before the wizard cancels with this current step.

    Returns Promise<boolean>

    A promise that resolves to a boolean indicating whether the wizard should cancel.

  • A callback that runs when this step is the current step.

    Parameters

    Returns void