Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(Lazyload): fix preLoad type error and spelling mistakes #12554

Merged
merged 2 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/vant/src/lazyload/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_ | - |
RSS1102 marked this conversation as resolved.
Show resolved Hide resolved
| attempt | Attempts count | _number_ | `3` |
| listenEvents | Events that you want vue listen for | _string[]_ | `scroll`... |
| adapter | Dynamically modify the attribute of element | _object_ | - |
Expand Down
2 changes: 1 addition & 1 deletion packages/vant/src/lazyload/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ app.use(Lazyload, {
| ------------- | ---------------- | ---------- | ---------- |
| loading | 加载时的图片 | _string_ | - |
| error | 错误时的图片 | _string_ | - |
| preload | 预加载高度的比例 | _string_ | - |
| preload | 预加载高度的比例 | _number_ | - |
| attempt | 尝试次数 | _number_ | `3` |
| listenEvents | 监听的事件 | _string[]_ | `scroll`等 |
| adapter | 适配器 | _object_ | - |
Expand Down