locawebstyle icon indicating copy to clipboard operation
locawebstyle copied to clipboard

Callback missing features in Step by Step

Open devgnx opened this issue 9 years ago • 0 comments

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

devgnx avatar Dec 09 '15 15:12 devgnx