diff --git a/src/lib/components/LazyImage.svelte b/src/lib/components/LazyImage.svelte index f103abe..18659c3 100644 --- a/src/lib/components/LazyImage.svelte +++ b/src/lib/components/LazyImage.svelte @@ -21,6 +21,9 @@ /** Additional classes to insert */ imgclass?: string; + + /** Slightly zoom the image on mouse-hover */ + hoverzoom?: boolean; } let { @@ -30,6 +33,7 @@ imgstyle = undefined, containerstyle = undefined, imgclass = "", + hoverzoom = false, ...restProps }: LazyImageProps = $props(); @@ -51,16 +55,16 @@
- {#if load} {#await fetch_image_base64(src) then data}