locawebstyle
locawebstyle copied to clipboard
Callback missing features in Step by Step
I had a problem to identify wich button called the "nextStep/prevStep" event, and identifying the target element (current step).
I wish that it were inside the callback argument, something like:
$(document).on('NextStepEvent', function(e, trigger, currentStep) {
trigger.addClass('test');
currentStep.removeClass('another-test');
});
I've seen someone here with the same issue, but not too specific https://github.com/locaweb/locawebstyle/issues/1443#issuecomment-91356682