docs: type highlight (#4264)

This commit is contained in:
neverland
2019-08-27 22:09:21 +08:00
committed by GitHub
parent a79750d00c
commit ecbdc2bede
129 changed files with 1493 additions and 1484 deletions

View File

@@ -48,15 +48,15 @@ export default {
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| 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...` | - |
| success-text | Text to show when loading success | `string` | - | - |
| success-duration | Success text display duration(ms) | `number` | `500` | - |
| animation-duration | Animation duration | `number` | `300` | - |
| head-height | Height of head | `number` | `50` | - |
| disabled | Whether to disable pull refresh | `boolean` | `false` | - |
| 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...` | - |
| success-text | Text to show when loading success | *string* | - | - |
| success-duration | Success text display duration(ms) | *number* | `500` | - |
| animation-duration | Animation duration | *number* | `300` | - |
| head-height | Height of head | *number* | `50` | - |
| disabled | Whether to disable pull refresh | *boolean* | `false` | - |
### Events

View File

@@ -48,15 +48,15 @@ export default {
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| v-model | 是否在加载中 | `boolean` | - | - |
| pulling-text | 下拉过程文案 | `string` | `下拉即可刷新...` | - |
| loosing-text | 释放过程文案 | `string` | `释放即可刷新...` | - |
| loading-text | 加载过程文案 | `string` | `加载中...` | - |
| success-text | 加载成功提示文案 | `string` | - | - |
| success-duration | 加载成功提示时长(ms) | `number` | `500` | - |
| animation-duration | 动画时长 | `number` | `300` | - |
| head-height | 顶部内容高度 | `number` | `50` | - |
| disabled | 是否禁用下拉刷新 | `boolean` | `false` | - |
| v-model | 是否在加载中 | *boolean* | - | - |
| pulling-text | 下拉过程文案 | *string* | `下拉即可刷新...` | - |
| loosing-text | 释放过程文案 | *string* | `释放即可刷新...` | - |
| loading-text | 加载过程文案 | *string* | `加载中...` | - |
| success-text | 加载成功提示文案 | *string* | - | - |
| success-duration | 加载成功提示时长(ms) | *number* | `500` | - |
| animation-duration | 动画时长 | *number* | `300` | - |
| head-height | 顶部内容高度 | *number* | `50` | - |
| disabled | 是否禁用下拉刷新 | *boolean* | `false` | - |
### Events