What are the lifecycle hooks we can use under when
?
#1792
Answered
by
RobbieTheWagner
peterDuot-stationfive
asked this question in
Q&A
-
I'm curious to what are the things we can use under |
Beta Was this translation helpful? Give feedback.
Answered by
RobbieTheWagner
Feb 1, 2022
Replies: 1 comment 1 reply
-
@peterDuot-stationfive I would suggest |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
peterDuot-stationfive
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@peterDuot-stationfive I would suggest
tour.on('complete', function() { // do stuff here })
to setup things to do when the tour is complete. Forwhen
you can see all the events a step triggers here https://github.com/shipshapecode/shepherd/blob/master/src/js/step.js just look fortrigger
.