Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed May 6, 2020
1 parent b6444b4 commit 5174e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/src/zh/plugins/smooth-scroll.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sidebarDepth: 3
1.[scrollBehavior](https://router.vuejs.org/api/#scrollbehavior) 中使用 `window.scrollTo({ behavior: 'smooth' })`
- [参考](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo)
- [浏览器兼容性](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo#Browser_Compatibility)
- [smoothscroll-ployfill](https://github.com/iamdustan/smoothscroll)
- [smoothscroll-polyfill](https://github.com/iamdustan/smoothscroll)
2. 将样式 `scroll-behavior: smooth;` 加入 `<html>` 元素
- [参考](https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior)
- [浏览器兼容性](https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior#Browser_compatibility)
Expand Down

0 comments on commit 5174e3e

Please sign in to comment.