[improvement] List: add loading slot (#1804)

This commit is contained in:
neverland
2018-09-14 15:02:59 +08:00
committed by GitHub
parent 44c8b2c492
commit 82b037a576
10 changed files with 22 additions and 8 deletions
+7
View File
@@ -72,3 +72,10 @@ Use ref to get list instance and call instance methods
| Name | Attribute | Return value | Description |
|-----------|-----------|-----------|-------------|
| check | - | - | Check scroll position |
### Slot
| Name | Description |
|-----------|-----------|
| - | List content |
| loading | Custom loading tips |
+7
View File
@@ -72,3 +72,10 @@ export default {
| 方法名 | 参数 | 返回值 | 介绍 |
|-----------|-----------|-----------|-------------|
| check | - | - | 检查当前的滚动位置,若已滚动至底部,则会触发 load 事件 |
### Slot
| 名称 | 说明 |
|-----------|-----------|
| - | 列表内容 |
| loading | 自定义底部加载中提示 |