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

queries and x-app-rendered #44

Open
Spica2 opened this issue Sep 8, 2019 · 0 comments
Open

queries and x-app-rendered #44

Spica2 opened this issue Sep 8, 2019 · 0 comments

Comments

@Spica2
Copy link

Spica2 commented Sep 8, 2019

  mounted: () => {
    this.$nextTick( function () {
      // Code that will run only after the
      // entire view has been rendered
      document.dispatchEvent(new Event("x-app-rendered"))
    })
  },

see also #39
I wonder if there is a way to fire the event programmatically after all request of a route are resolved. The idea above does not work. Doing it manually with each query is uncomfortable.

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