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

Feature request - Add event app-route-changed or app-route-match? #144

Open
bwh-rl opened this issue Sep 15, 2016 · 1 comment
Open

Feature request - Add event app-route-changed or app-route-match? #144

bwh-rl opened this issue Sep 15, 2016 · 1 comment

Comments

@bwh-rl
Copy link

bwh-rl commented Sep 15, 2016

Hi,

It may would be useful to get an event fired when the route was changed and the pattern matches.
Listen to activate-changed is not really an alternative, cause it only fires on first pattern match, not if an new route matches the same pattern.
It would be a more direct alternative to the routeData observers.

@bwh-rl
Copy link
Author

bwh-rl commented Sep 20, 2016

If the routing is more complex and more than one pattern needs to be matched, listen to changes via observers would be far more complex than listen to events.

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

1 participant