Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Added global method #2

Merged
merged 1 commit into from
Jun 22, 2017
Merged

Added global method #2

merged 1 commit into from
Jun 22, 2017

Conversation

DominikSerafin
Copy link
Contributor

Hello @steffans , thank you for quickly closing the #1 issue.

I found out that there's still certain important thing lacking in this library - you can't trigger any events in vue-router nor in vuex store because you don't have easy access to your Vue instances there.

So in this quick fix I've added support for that. You can now listen, access & trigger events using Vue.events. For example; Vue.events.trigger('test').

@steffans steffans merged commit 47a52fa into pagekit:master Jun 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants