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

Add BeforeNavigate Event handler to allow user to stop transition #1

Closed
joefeser opened this issue Aug 15, 2012 · 1 comment
Closed
Milestone

Comments

@joefeser
Copy link

An example would be validation.

If validation fails, you do not want the transition to be performed.

It would be nice if the items that are passed to the event include the current page and the page the user is attempting to navigate to.

If this is the navigate to backlog item then please ignore.

@finnsson
Copy link
Owner

finnsson commented Sep 9, 2012

I added the "from page" as a fourth argument in the guard-callback. Should probably be the first argument to the guard-callback but I don't want to break backwards compatibility all the time.

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

No branches or pull requests

2 participants