diff --git a/src/lib/components/LazyImage.svelte b/src/lib/components/LazyImage.svelte index cf3b7ff..e90f39b 100644 --- a/src/lib/components/LazyImage.svelte +++ b/src/lib/components/LazyImage.svelte @@ -18,6 +18,9 @@ /** Optional extra style for the lazy
container */ containerstyle?: string; + + /** Additional classes to insert */ + imgclass?: string; } let { @@ -26,6 +29,7 @@ imgheight, imgstyle = undefined, containerstyle = undefined, + imgclass = "", ...restProps }: LazyImageProps = $props(); @@ -55,7 +59,7 @@