PullRefresh
Install
Usage
Basic Usage
The refresh event will be triggered when pull refresh, you should set v-model to false to reset loading status after process refresh event.
API
| Attribute |
Description |
Type |
Default |
Accepted Values |
| v-model |
Loading status |
Boolean |
- |
- |
| pulling-text |
Text to show when pulling |
String |
Pull to refresh... |
- |
| loosing-text |
Text to show when loosing |
String |
Loose to refresh... |
- |
| loading-text |
Text to show when loading |
String |
Loading... |
- |
| animation-duration |
Animation duration |
Number |
300 |
- |
| head-height |
Height of head |
Number |
50 |
- |
Event
| Event |
Description |
Parameters |
| refresh |
Triggered when pull refresh |
- |
Slot
| name |
Description |
| - |
Default slot |
| normal |
Content of head when at normal status |
| pulling |
Content of head when at pulling |
| loosing |
Content of head when at loosing |
| loading |
Content of head when at loading |