Skip to content

What are the lifecycle hooks we can use under when? #1792

Discussion options

You must be logged in to vote

@peterDuot-stationfive I would suggest tour.on('complete', function() { // do stuff here }) to setup things to do when the tour is complete. For when you can see all the events a step triggers here https://github.com/shipshapecode/shepherd/blob/master/src/js/step.js just look for trigger.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@peterDuot-stationfive
Comment options

Answer selected by peterDuot-stationfive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants