Skip to content
This repository was archived by the owner on May 5, 2022. It is now read-only.
This repository was archived by the owner on May 5, 2022. It is now read-only.

Not possible to add slides dynamically #58

@johnyvelho

Description

@johnyvelho

Currently is not possible to add slides dynamically to the Carousel.

eg:

<Carousel>
   {#each images as image}
        <div>image</div>
   {/each}
</Carousel>

If you add more items to the array, you will get a svelte error due to the usage of .

Suggestion:
Use the selector from Siema. That way we can do something:

<Carousel selector=".slides-here">
   <div class="slides-here">
   {#each images as image}
        <div>image</div>
   {/each}
   </div>
</Carousel>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions