Skip to content

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

@kabeza

Description

@kabeza

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help-wantedNeed a hand to improve the project

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions