jquery-smartwizard icon indicating copy to clipboard operation
jquery-smartwizard copied to clipboard

Create a new event to be fired when step finished showing/displaying

Open kabeza opened this issue 5 years ago • 0 comments

Is your feature request related to a problem? Please describe. I cannot focus an input field just after showing actual step

asistente.on("showStep", function(e, anchorObject, stepNumber, stepDirection) {
    if (stepNumber == 1)
    {
        $("#dni").focus();
    }
    //console.log("Estas en el paso: "+stepNumber);
});

Describe the solution you'd like Add a new event to SmartWizard so it is fired just after animation finishes or something like that so we can focus elements on the current Step

Describe alternatives you've considered no idea

Additional context none

kabeza avatar Apr 14 '20 19:04 kabeza