Static GitHub Issues

[2978] Question - Scroll to top after axios

prev: What about progressive rendering?
next: Move examples to a separate repository

hi guys so I have something like this:

  methods: {
    async getBlogs(url) {
      const newBlogs = await this.$axios.$get(url)
      this.blogs = newBlogs
    },
    async getSpecificPage(page) {
      const newPageBlogs = await this.$axios.$get(process.env.API_URL + 'api/blogs/all?page=' + page)
      this.blogs = newPageBlogs
    }

now what I want to do after this.blogs is assigned, is scroll to top but the route itself is not changing. Is there any way to do that?

Thanks

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2581">#c2581</a>)</em></sub></div>