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

Adds bubbling core-signal events in addition to element based events #120

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rurri
Copy link

@rurri rurri commented May 4, 2015

In order to make supporting elements, access to the app-router events is needed. Sending core-signal events allows elements that are ignorant of the rest of the application still respond meaningfully to these events.

This is needed for elements such as page tracking, comment plug-ins where the provider requires a singleton call, or other sitewide changes based on route changes.

rurri added 2 commits May 4, 2015 14:23
In order to make supporting elements, access to the app-router events is needed. Sending core-signal events allows elements that are ignorant of the rest of the application still respond meaningfully to these events.

This is needed for elements such as page tracking, comment plug-ins where the provider requires a singleton call, or other sitewide changes based on route changes.
@rurri
Copy link
Author

rurri commented May 4, 2015

For an example of how this can be used:

https://github.com/rurri/app-router-analytics

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

Successfully merging this pull request may close these issues.

1 participant