mirror of
https://github.com/youzan/vant.git
synced 2026-05-07 01:01:01 +08:00
docs: update version tag
This commit is contained in:
+10
-10
@@ -57,15 +57,15 @@ Vue.use(Lazyload, {
|
||||
|
||||
### Options
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| loading | Src of the image while loading | *string* | - | - |
|
||||
| error | Src of the image upon load fail | *string* | - | - |
|
||||
| preload | Proportion of pre-loading height | *string* | - | - |
|
||||
| attempt | Attempts count | *number* | `3` | - |
|
||||
| listenEvents | Events that you want vue listen for | *string[]* | `scroll`... | - |
|
||||
| adapter | Dynamically modify the attribute of element | *object* | - | - |
|
||||
| filter | The image's listener filter | *object* | - | - |
|
||||
| lazyComponent | Lazyload component | *boolean* | `false` | - |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| loading | Src of the image while loading | *string* | - |
|
||||
| error | Src of the image upon load fail | *string* | - |
|
||||
| preload | Proportion of pre-loading height | *string* | - |
|
||||
| attempt | Attempts count | *number* | `3` |
|
||||
| listenEvents | Events that you want vue listen for | *string[]* | `scroll`... |
|
||||
| adapter | Dynamically modify the attribute of element | *object* | - |
|
||||
| filter | The image's listener filter | *object* | - |
|
||||
| lazyComponent | Lazyload component | *boolean* | `false` |
|
||||
|
||||
> See more:[ vue-lazyload ](https://github.com/hilongjw/vue-lazyload)
|
||||
|
||||
@@ -64,15 +64,15 @@ Vue.use(Lazyload, {
|
||||
|
||||
### Options
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| loading | 加载时的图片 | *string* | - | - |
|
||||
| error | 错误时的图片 | *string* | - | - |
|
||||
| preload | 预加载高度的比例 | *string* | - | - |
|
||||
| attempt | 尝试次数 | *number* | `3` | - |
|
||||
| listenEvents | 监听的事件 | *string[]* | `scroll`等 | - |
|
||||
| adapter | 适配器 | *object* | - | - |
|
||||
| filter | 图片 URL 过滤 | *object* | - | - |
|
||||
| lazyComponent | 是否能懒加载模块 | *boolean* | `false` | - |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| loading | 加载时的图片 | *string* | - |
|
||||
| error | 错误时的图片 | *string* | - |
|
||||
| preload | 预加载高度的比例 | *string* | - |
|
||||
| attempt | 尝试次数 | *number* | `3` |
|
||||
| listenEvents | 监听的事件 | *string[]* | `scroll`等 |
|
||||
| adapter | 适配器 | *object* | - |
|
||||
| filter | 图片 URL 过滤 | *object* | - |
|
||||
| lazyComponent | 是否能懒加载模块 | *boolean* | `false` |
|
||||
|
||||
> 更多内容请参照:[vue-lazyload 官方文档](https://github.com/hilongjw/vue-lazyload)
|
||||
|
||||
Reference in New Issue
Block a user