Skip to content

Events

TypeDescription
onStepChangefunction(optional) Will be called when the user navigates to a different step, with step index as the first argument and previous or next (or stepListModified when a step gets replaced) as the second argument, and as the third parameter an options object containing totalSteps, a preventNavigation function, an id if given on the Wizard.Step and a previousStep object containing the previous index (and id if given on the Wizard.Step). When an async function is provided, it will show an indicator on the submit button during the form submission. All form elements will be disabled during the submit. The indicator will be shown for a minimum of 1 second. Related Form.Handler properties: minimumAsyncBehaviorTime and asyncSubmitTimeout.