[Improvement] List: add check method (#1590)

This commit is contained in:
neverland
2018-08-05 17:57:05 +08:00
committed by GitHub
parent 428cb5059a
commit fe5aae7515
3 changed files with 21 additions and 5 deletions
+8
View File
@@ -64,3 +64,11 @@ export default {
| 事件名 | 说明 | 参数 |
|-----------|-----------|-----------|
| load | 滚动条与底部距离小于 offset 时触发 | - |
### 方法
通过 ref 可以获取到 list 实例并调用实例方法
| 方法名 | 参数 | 返回值 | 介绍 |
|-----------|-----------|-----------|-------------|
| check | - | - | 检查当前的滚动位置,若已滚动至底部,则会触发 load 事件 |