diff --git a/src/lib/CarouselGallery.svelte b/src/lib/CarouselGallery.svelte index b306486..7c0e375 100644 --- a/src/lib/CarouselGallery.svelte +++ b/src/lib/CarouselGallery.svelte @@ -138,19 +138,19 @@ class="fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-75 z-10 backdrop-blur-sm" transition:fade="{{ duration: 150 }}" on:click="{handleClickInside}" - on:keydown> + on:keydown + on:touchstart="{handleTouchStart}" + on:touchend="{handleTouchEnd}"> {#if !loaded}
+ in:fade="{{ delay: 500 }}" + out:fade> loading nahi Loading...
{:else} -
+