Skip to content

Commit

Permalink
docs(scroll): add more API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dolymood committed Aug 10, 2018
1 parent 0096ff9 commit 808b320
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion document/components/docs/en-US/scroll.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,4 +357,7 @@ In `options`, there are three frequently-used options, `scrollbar`、`pullDownRe
| - | - | - |
| scrollTo | Scroll to specific position. | x: horizontal position<br> y: vertical position<br> time: transition time<br> ease: easing function |
| disable | Disable scroll. | - |
| enable | Enable scroll. It's enabled by default | - |
| enable | Enable scroll. It's enabled by default | - |
| forceUpdate | If a pulldown/pullup refresh has no data update, you should call `forceUpdate()` method to force update pullUp/pullDown state | - |
| resetPullUpTxt | Reset pull up txt when pull up state changed from no data to data updated | - |
| refresh | Refresh, computed height and called BetterScroll instance's refresh | - |
5 changes: 4 additions & 1 deletion document/components/docs/zh-CN/scroll.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,4 +358,7 @@
| - | - | - |
| scrollTo | 滚动到指定位置 | x: 横向位置<br> y: 纵向位置<br> time: 过渡动画时间<br> ease: 动画曲线 |
| disable | 禁用滚动 | - |
| enable | 启用滚动,默认是开启滚动的。 | - |
| enable | 启用滚动,默认是开启滚动的 | - |
| forceUpdate | 强制更新状态,用于上拉或者下拉无数据的情况 | - |
| resetPullUpTxt | 当从无更多切换到有更多时,重置上拉文本内容 | - |
| refresh | 刷新,重新计算高度且刷新 BetterScroll 实例 | - |

0 comments on commit 808b320

Please sign in to comment.