You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer using Swiper I want to control the element assigned to Swiper and SwiperSlide components using <svelte:element this={}> so that I can write semantic HTML. My specific use case will be utilizing <article> as the Swiper and <section> as the SwiperSlides.
Suggested solution
This approach could be used for both the Swiper and the SwiperSlide without impacting other props.
<script>
exportlet tag ='div'
</script>
<svelte:elementthis={tag}>
...
</svelte:element>
Clear and concise description of the problem
As a developer using Swiper I want to control the element assigned to Swiper and SwiperSlide components using
<svelte:element this={}>
so that I can write semantic HTML. My specific use case will be utilizing<article>
as the Swiper and<section>
as the SwiperSlides.Suggested solution
This approach could be used for both the Swiper and the SwiperSlide without impacting other props.
Alternative
No response
Additional context
No response
Validations
Would you like to open a PR for this feature?
The text was updated successfully, but these errors were encountered: