]> git.ipfire.org Git - thirdparty/vuejs/router.git/commit
feat(scroll): replace selector with el
authorEduardo San Martin Morote <posva13@gmail.com>
Fri, 12 Jun 2020 15:25:39 +0000 (17:25 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Fri, 12 Jun 2020 15:25:42 +0000 (17:25 +0200)
commitab8a01c0a6eda1bafc293b39cb6c77ed10fb359e
tree098f61a4acfe1bc1627dd8081cf568b8df2ab943
parent27a303c0d98553beb622d91967830921f77091fa
feat(scroll): replace selector with el

BREAKING CHANGE: this change follows the RFC at
https://github.com/vuejs/rfcs/pull/176:
- `selector` is renamed into `el`
- `el` also accepts an `Element`
- `left` and `top` are passed along `el` instead of inside an object
  passed as `offset`
__tests__/scrollBehavior.spec.ts [new file with mode: 0644]
e2e/scroll-behavior/index.ts
src/scrollBehavior.ts