Closed myselfgaurav closed 8 years ago
please check http://eragonj.github.io/Trip.js/demo.html for more information.
i still can not see any log there
Make sure all needed libs are loaded and if possible, please put more comments, attach screenshot or write down detailed step to reproduce to help us diagnose the problem, otherwise, the information is too less to know what's going on here.
ok see i tested demo at below url : http://eragonj.github.io/Trip.js/
i found js link reffered here : http://eragonj.github.io/Trip.js/public/js/demo-index.js has below code
{ sel : $('.demo-index.step2'), position : 'e', content : 'This is a plugin that can help you make hint flow easily !', delay : 3000, callback : function(i) { console.log("step "+ i +" is finished"); }
here the call back content step 1 is finished must show in console
but i can not see it attached screenshot also
Ohoh, I finally realized the problem here. callback
is an old option that you can pass, in new design, we do have onTripChange
which does the same thing, so you can use that instead.
I would update demo-index.js
later to eliminate the ambiguity here. Hope this clarifies your problem.
jquery callback seems not working , console.log("step "+ i +" is finished");
i could not see step 1 finished in console,
what to do to make it work