Created
May 23, 2019 15:34
-
-
Save jackabox/b402acb4c54658b044552603d6d2c2cc to your computer and use it in GitHub Desktop.
scroll views to top
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
router: { | |
scrollBehavior: function(to, from, savedPosition) { | |
return { x: 0, y: 0 } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment