This repository has been archived by the owner on Feb 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 664
Is there any 'Done' button or tour end event? #343
Comments
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I need to run a function when the user clicks on 'done' or close button. But apparently 'onClose' and 'onEnd' callbacks are not working. Here is my tour:
var tour = { id: "hello-hopscotch", steps: [{ title: "<img src='/static/images/sparky_tipster.png' class = 'sparky-tipster'>Sparky The Tipster", content: "This ticket is now created and appointed to you. If you wish to appoint this to someone else, please change appointed to user.", target: "appointed-to", placement: "left", showCTAButton: true, ctaLabel: "Don't show again", onCTA: function() { hide_guide("Appointed Hint"); hopscotch.endTour() }, onEnd: function() { mark_done(); }, }, ] };
Can anyone please guide me on which call back should be used here?
The text was updated successfully, but these errors were encountered: