[Doc] detailed Array typing

This commit is contained in:
陈嘉涵
2019-07-11 20:44:51 +08:00
parent 019c75506a
commit 2c4adff307
34 changed files with 67 additions and 66 deletions

View File

@@ -56,7 +56,7 @@ Use `v-lazy:background-image` to set background url, and declare the height of t
| 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 | `Array` | `scroll`... |
| 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` |

View File

@@ -63,7 +63,7 @@ export default {
| error | 错误时的图片 | `string` | - | - |
| preload | 预加载高度的比例 | `string` | - | - |
| attempt | 尝试次数 | `number` | `3` | - |
| listenEvents | 监听的事件 | `Array` | `scroll`等 | - |
| listenEvents | 监听的事件 | `string[]` | `scroll`等 | - |
| adapter | 适配器 | `object` | - | - |
| filter | 图片 URL 过滤 | `object` | - | - |
| lazyComponent | 是否能懒加载模块 | `boolean` | `false` | - |