You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is all properties you can use for both `lazy-img` and `lazy-background` components.
50
51
52
+
### Placeholder
51
53
To be able to immediately show some feedback to the user, it is possible to pass a placeholder image, which could be also 1% the size of the main image: it will be blurred so you can go crazy with optimizations here.
52
54
53
-
in this example I actually use the same image, but you have the idea here
55
+
In this example I actually use the same image, but you have the idea here
54
56
55
57
```html
56
58
<lazy-img
@@ -59,20 +61,6 @@ in this example I actually use the same image, but you have the idea here
59
61
/>
60
62
```
61
63
62
-
### The slot (progressive-background only)
63
-
64
-
The progressive-background has a "content" slot, which can hold content that needs to be rendered over the background image and also can hold a preloader.
65
-
This slot has one property called "visible" that tells you when, for example, a preloader needs to be visible or not.
0 commit comments