jQuery Event for Substeps

51 views
Skip to first unread message

Eric Oliver

unread,
Feb 18, 2014, 8:09:52 PM2/18/14
to jmpr...@googlegroups.com
Hey there!

Is there any way to trigger jQuery step events for substeps? Consider the following

$('.step').on('enterStep', function(event) {
alert("PARENT"); // Correctly triggers when you enter this step
})
.on('leaveStep', function(event) {
//
});

$('.substep').on('enterStep', function(event) {
alert("SUBSTEP"); // Does not trigger when you enter the substep
})
.on('leaveStep', function(event) {
//
});

Any ideas?

Best,

--eric
Reply all
Reply to author
Forward
0 new messages