[improvement] List: add loading slot (#1804)
This commit is contained in:
@@ -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 |
|
||||
|
||||
@@ -72,3 +72,10 @@ export default {
|
||||
| 方法名 | 参数 | 返回值 | 介绍 |
|
||||
|-----------|-----------|-----------|-------------|
|
||||
| check | - | - | 检查当前的滚动位置,若已滚动至底部,则会触发 load 事件 |
|
||||
|
||||
### Slot
|
||||
|
||||
| 名称 | 说明 |
|
||||
|-----------|-----------|
|
||||
| - | 列表内容 |
|
||||
| loading | 自定义底部加载中提示 |
|
||||
|
||||
Reference in New Issue
Block a user