File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -253,4 +253,43 @@ Vue.use(VueLazyImageLoading, {
253
253
})
254
254
```
255
255
256
+ #### position
257
+ * type: String
258
+ * default: '0% 0%'
259
+
260
+ Allows you to set the value of the ` background-position ` CSS property.
261
+ Will only work ` lazy-background ` component.
262
+
263
+ ``` js
264
+ Vue .use (VueLazyImageLoading, {
265
+ position: ' center'
266
+ })
267
+ ```
268
+
269
+ #### size
270
+ * type: String
271
+ * default: 'cover'
272
+
273
+ Allows you to set the value of the ` background-size ` CSS property.
274
+ Will only work ` lazy-background ` component.
275
+
276
+ ``` js
277
+ Vue .use (VueLazyImageLoading, {
278
+ size: ' contain'
279
+ })
280
+ ```
281
+
282
+ #### repeat
283
+ * type: String
284
+ * default: 'no-repeat'
285
+
286
+ Allows you to set the value of the ` background-repeat ` CSS property.
287
+ Will only work ` lazy-background ` component.
288
+
289
+ ``` js
290
+ Vue .use (VueLazyImageLoading, {
291
+ repeat: ' repeat-x'
292
+ })
293
+ ```
294
+
256
295
** Global options like ` placeholder ` and ` blur ` will be applied only to components that don't specify their own options**
You can’t perform that action at this time.
0 commit comments