We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ee8efe commit 756e66fCopy full SHA for 756e66f
README.md
@@ -324,7 +324,7 @@ for me, but you can apply your own using CSS.
324
let loaded
325
</script>
326
327
-<Img class="better-blur" class={loaded} on:load={() => (loaded = true)} {src} alt="cat" />
+<Img class="better-blur {loaded ? 'loaded' : ''}" on:load={() => (loaded = true)} {src} alt="cat" />
328
329
<style>
330
:global(img.better-blur)::after {
0 commit comments