[new feature] PullRefresh: add distance of slotProps (#3829)

This commit is contained in:
neverland
2019-07-11 19:24:22 +08:00
committed by GitHub
parent 0c7fc25d97
commit 907c9a3d03
5 changed files with 86 additions and 29 deletions

View File

@@ -65,10 +65,10 @@ export default {
### Slots
| 名称 | 说明 |
|------|------|
| default | 自定义内容 |
| normal | 非下拉状态时顶部内容 |
| pulling | 下拉过程中顶部内容 |
| loosing | 释放过程中顶部内容 |
| loading | 加载过程中顶部内容 |
| 名称 | 说明 | scoped-slot 参数 |
|------|------|------|
| default | 自定义内容 | - |
| normal | 非下拉状态时顶部内容 | - |
| pulling | 下拉过程中顶部内容 | { distance: 当前下拉距离 } |
| loosing | 释放过程中顶部内容 | { distance: 当前下拉距离 } |
| loading | 加载过程中顶部内容 | { distance: 当前下拉距离 } |