From 5b02b37e38da7662757e7955318733df787aa64f Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Wed, 26 Feb 2025 22:27:43 +0100 Subject: [PATCH] Lib: Assign imgclass also to image container --- src/lib/components/LazyImage.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/components/LazyImage.svelte b/src/lib/components/LazyImage.svelte index 678d528..b71cdb5 100644 --- a/src/lib/components/LazyImage.svelte +++ b/src/lib/components/LazyImage.svelte @@ -19,7 +19,7 @@ /** Optional extra style for the lazy
container */ containerstyle?: string; - /** Additional classes to insert */ + /** Additional classes to insert for container + image */ imgclass?: string; /** Slightly zoom the image on mouse-hover */ @@ -55,7 +55,7 @@