mirror of
https://github.com/youzan/vant.git
synced 2026-05-10 01:06:44 +08:00
docs: type highlight (#4264)
This commit is contained in:
+9
-9
@@ -102,15 +102,15 @@ export default {
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| v-model | Whether to show loading info,the `load` event will not be triggered when loading | `boolean` | `false` | - |
|
||||
| finished | Whether loading is finished,the `load` event will not be triggered when finished | `boolean` | `false` | - |
|
||||
| error | Whether loading is error,the `load` event will be triggered only when error text clicked, the `sync` modifier is needed | `boolean` | `false` | - |
|
||||
| offset | The load event will be triggered when the distance between the scrollbar and the bottom is less than offset | `number` | `300` | - |
|
||||
| loading-text | Loading text | `string` | `Loading...` | - |
|
||||
| finished-text | Finished text | `string` | - | - |
|
||||
| error-text | Error loaded text | `string` | - | - |
|
||||
| immediate-check | Whether to check loading position immediately after mounted | `boolean` | `true` | - |
|
||||
| direction | Scroll direction,can be set to `up` | `string` | `down` | - |
|
||||
| v-model | Whether to show loading info,the `load` event will not be triggered when loading | *boolean* | `false` | - |
|
||||
| finished | Whether loading is finished,the `load` event will not be triggered when finished | *boolean* | `false` | - |
|
||||
| error | Whether loading is error,the `load` event will be triggered only when error text clicked, the `sync` modifier is needed | *boolean* | `false` | - |
|
||||
| offset | The load event will be triggered when the distance between the scrollbar and the bottom is less than offset | *number* | `300` | - |
|
||||
| loading-text | Loading text | *string* | `Loading...` | - |
|
||||
| finished-text | Finished text | *string* | - | - |
|
||||
| error-text | Error loaded text | *string* | - | - |
|
||||
| immediate-check | Whether to check loading position immediately after mounted | *boolean* | `true` | - |
|
||||
| direction | Scroll direction,can be set to `up` | *string* | `down` | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user