Answers for "vue router Async Scrolling"

0

vue router Async Scrolling

scrollBehavior (to, from, savedPosition) {
  return new Promise((resolve, reject) => {
    setTimeout(() => {
      resolve(savedPosition || { x: 0, y: 0 })
    }, 500)
  })
}
Posted by: Guest on April-06-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language