-
Hi there, I'm using Alpine JS and would like to use x-for (similar to vue) for my 'splide_slides', however this breaks the structure and the li don't get updated (are not seen by Splide). Is there some solution/workaround ('ignore element' etc.)? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Came up with a hacky solution that works ok, which is just to detect if the template has all the slides, then move it up one level before init splide. Required a bit of fiddling to get the ordering right, but seems to work ok for now. Would be nice if there was a data attribute like 'ignore' for such cases. |
Beta Was this translation helpful? Give feedback.
Came up with a hacky solution that works ok, which is just to detect if the template has all the slides, then move it up one level before init splide. Required a bit of fiddling to get the ordering right, but seems to work ok for now. Would be nice if there was a data attribute like 'ignore' for such cases.