mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
docs(Lazyload): fix preLoad type error and spelling mistakes (#12554)
This commit is contained in:
@@ -73,7 +73,7 @@ app.use(Lazyload, {
|
||||
| --- | --- | --- | --- |
|
||||
| loading | Src of the image while loading | _string_ | - |
|
||||
| error | Src of the image upon load fail | _string_ | - |
|
||||
| preload | Proportion of pre-loading height | _string_ | - |
|
||||
| preLoad | Proportion of pre-loading height | _number_ | - |
|
||||
| attempt | Attempts count | _number_ | `3` |
|
||||
| listenEvents | Events that you want vue listen for | _string[]_ | `scroll`... |
|
||||
| adapter | Dynamically modify the attribute of element | _object_ | - |
|
||||
|
@@ -79,7 +79,7 @@ app.use(Lazyload, {
|
||||
| ------------- | ---------------- | ---------- | ---------- |
|
||||
| loading | 加载时的图片 | _string_ | - |
|
||||
| error | 错误时的图片 | _string_ | - |
|
||||
| preload | 预加载高度的比例 | _string_ | - |
|
||||
| preLoad | 预加载高度的比例 | _number_ | - |
|
||||
| attempt | 尝试次数 | _number_ | `3` |
|
||||
| listenEvents | 监听的事件 | _string[]_ | `scroll`等 |
|
||||
| adapter | 适配器 | _object_ | - |
|
||||
|
Reference in New Issue
Block a user