-
-
Notifications
You must be signed in to change notification settings - Fork 241
Closed
Labels
Description
Describe the bug
On first initializing of smartWizard I get stepIndex of nothing ( just empty) of showStep event. But I would expect this to be 0 or whatever is set in selected.
When I click next it will log index 0 instead of 1 and so on.
Iam sure I am doing something wrong but cant figure this one out.
$('#smartwizard').smartWizard({
theme: 'arrows',
enableURLhash: false,
toolbarSettings: {
showPreviousButton: false,
toolbarPosition: 'bottom'
},
anchorSettings: {
anchorClickable: false, // Enable/Disable anchor navigation
},
});
$('#smartwizard').on("showStep", function(e, anchorObject, stepIndex, stepDirection) {
console.log(stepIndex);
});
});
Reactions are currently unavailable