Skip to content

Initialization callback? #80

Closed
Closed
@mklickman

Description

@mklickman

Is there any way to run arbitrary JavaScript once a wizard has been initialized? The existing events are definitely helpful, it would just be nice to be able to run some code as soon as my wizard is ready to go. I'm looking for either a function callback or an event to listen for, something like:

$('#wizard-1').steps({
    onInit: function(event, currentIndex) {
        // arbitrary code here
    }
});

or

$(window).on('onWizardInit', function(event) {
    // arbitrary code here
});

If I knew how to write that into the plugin, I would :-/

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions