Move getting indexes to utils

This commit is contained in:
Vadim
2021-01-20 18:06:11 +03:00
parent c8f0e419b4
commit 9dfcf6918d
5 changed files with 58 additions and 12 deletions

View File

@@ -5,11 +5,19 @@
/**
* Enable Next/Previos arrows
*/
export let arrows = true;
export let arrows = true;
/**
* Infinite looping
*/
export let infinite = true;
</script>
<div class="main-container">
<ImageCarousel {arrows}>
<ImageCarousel
{arrows}
{infinite}
>
<CarouselChild>
<div class="child-content-container">
<h1>Element 1</h1>