Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postRideCallback runs whether cancelled or complete - is there a way of distinguishing between these? #203

Open
awidgery opened this issue May 22, 2015 · 3 comments

Comments

@awidgery
Copy link

No description provided.

@robinfhu
Copy link

robinfhu commented Feb 1, 2017

Yes. The postRideCallback is passed three arguments. The last argument is isAborted. The isAborted flag is set to true if the tutorial was cancelled via the close button.

@raffaelmeier
Copy link

can you specify how to use that function (isAborted) in a short example? I am not managing to get it to work... thanks in advance...

@raffaelmeier
Copy link

      $(window).load(function() {
          $("#joyRideTipContent").joyride({
              autoStart : true,
			  postRideCallback :function() { if (this.isAborted == true ) { window.alert('hello world');  } // or whatever you want to call
    						}
          });
        });

does not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants