Closed nomideusz closed 10 months ago
It seems there is an error in the "Blurred image placeholders" docs section. The "class" attribute is used twice here:
<Img class="better-blur" class={loaded} on:load={() => (loaded = true)} {src} alt="cat" />.
Thanks, fixed by https://github.com/zerodevx/svelte-img/commit/756e66f68406a1784792e4b9f471a4f780eb3258. Good catch!
It seems there is an error in the "Blurred image placeholders" docs section. The "class" attribute is used twice here:
<Img class="better-blur" class={loaded} on:load={() => (loaded = true)} {src} alt="cat" />.