Skip to content

Remove "template" tag from children of .slider-container and .slider-indicators making library compatible with AlpineJS #46

@Teods

Description

@Teods

Is your feature request related to a problem? Please describe.
I want the library to be compatible with AlpineJs and the Web HTML Element "template". AlpineJS use the "template" element for every actions, loop etc... and SwiffySlider take alld child element to display indicators and slide.
See AlpineJS Templating usage : https://alpinejs.dev/essentials/templating#looping-elements

Describe the solution you'd like
I already implemented the solution (PR in preparation) it simply consist in excluding the "template" from the children and let all other tags as is

PR #47

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions