Replies: 1 comment
-
Hello again,
as described:
I've noticed, that after rendering the Swiper, all of the content is outside the wrapper-container 'swiper-wrapper' and therefore the Swiper doesn't work. In the meantime I've noticed also, that with the latest version I could use useSwiper and useSwiperSlide instead of define my own provide/inject key for accessing the Swiper-Ref. PS: I think it should be possible to provide a different DOM node as wrapper-container (as Swiper option) to solve my problem. Instead I can only change the wrapper css class name. But this doesn't work for me. What do you think? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm stuck with my problem of creating a Swiper component with a thumb swiper in Vue 3 where the Swiper slides are in a different Vue component (this is basically due to a CMS related environment). Without the extra thumb swiper I was able to provide/inject the Swiper-reference (which is needed for each SwiperSlide) for each slide. But I need to know if the injected component reference belongs to the main Swiper or to the thumb swiper.
Do you have any ideas?
Any constructive idea is welcome.
The CarouselWidget.vue:
The CarouselItem.vue:
Beta Was this translation helpful? Give feedback.
All reactions