EragonJ / Trip.js

🚀 Trip.js is a plugin that can help you customize a tutorial trip easily with more flexibilities.
https://eragonj.github.io/Trip.js/
MIT License
793 stars 109 forks source link

Is the local callback option working? Can I get an example for how to implement? #80

Closed Psipato closed 10 years ago

Psipato commented 10 years ago

I see it listed in the documentation, but can't figure out how it needs to be implemented.

EragonJ commented 10 years ago

ahh, callback has been removed because we already have some useful timings for basic use like onTripEnd.

EragonJ commented 10 years ago

@Psipato , I think onTripEnd would fits your needs and I would update the documentation later about this case. Please comment back to let me know whether this works for you or not, thanks !

Psipato commented 10 years ago

Doesn't onTripEnd only fire when ALL steps have been completed? I need to call a function after EACH step completes.

EragonJ commented 10 years ago

@Psipato you must re-read documentation carefully again :)