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

public method "reload" #2532

Closed
wants to merge 3 commits into from
Closed

public method "reload" #2532

wants to merge 3 commits into from

Conversation

ibyteyou
Copy link

test page: /reload
my reason: i needs in method to trig router-events (eaches), because in my project, static information about page title (document.title and title-markup in header with i18n) gets of $route information (?id or /:id, (supply №${id})), but now i need extra values such as "company_name"...

  1. this.$router.meta.company_name = 'Some company'
  2. this.$router.reload()
  3. ???
  4. all titles in page updated

in test-page "examples/reload" there are other useful uses (transition update, re-confirm, counts)

@posva
Copy link
Member

posva commented Dec 13, 2018

Thanks for your contribution. However this is quite different from what we want to add 🙂
There is #974 opened but I haven't even confirmed with others that we want to add that feature nor came up with the exact API yet although it would probably be another option passed alongside params and query

@posva posva closed this Dec 13, 2018
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.

2 participants