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

Comments

Projects
None yet
2 participants
@joefeser

joefeser commented Aug 15, 2012

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 finnsson closed this in 158c54c Sep 9, 2012

@finnsson

This comment has been minimized.

Show comment
Hide comment
@finnsson

finnsson Sep 9, 2012

Owner

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.

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