Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update scroll.md #2483

Merged
merged 1 commit into from
Feb 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update scroll.md
  • Loading branch information
JJFLYheight committed Feb 19, 2021
commit 8f44fab3156041c1d3115a58d8b390564d3622ed
2 changes: 1 addition & 1 deletion docs/api/ui/scroll.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

|参数名 |类型 |必填 |说明 |
|:- |:- |:- |:- |
|scrollTop|String | |滚动到页面的目标位置(单位px) |
|scrollTop|String | |滚动到页面的目标位置(单位px) |
|selector |String ||选择器,微信小程序2.7.3+ 、支付宝小程序1.20.0+支持 |
|duration |Number ||滚动动画的时长,默认300ms,单位 ms |
|success |function ||接口调用成功的回调函数 |
Expand Down