docs: type highlight (#4264)

This commit is contained in:
neverland
2019-08-27 22:09:21 +08:00
committed by GitHub
parent a79750d00c
commit ecbdc2bede
129 changed files with 1493 additions and 1484 deletions
+8 -8
View File
@@ -52,13 +52,13 @@ Use `v-lazy:background-image` to set background url, and declare the height of t
| 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` | - |
| 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)