mirror of
https://github.com/BradNut/personal-website-sveltekit
synced 2025-09-08 23:20:18 +00:00
Update LazyImage.svelte with noscript for image loading
This commit is contained in:
parent
9477435802
commit
a22f35ff09
1 changed files with 2 additions and 1 deletions
|
|
@ -20,6 +20,7 @@
|
|||
</script>
|
||||
|
||||
<div class="wrap">
|
||||
<noscript><Img class={clazz} {style} {src} {alt} {loading} bind:ref on:load={() => (loaded = true)} /></noscript>
|
||||
<Img class={clazz} {style} {src} {alt} {loading} bind:ref on:load={() => (loaded = true)} />
|
||||
<div class="blur" class:loaded />
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue