Replies: 1 comment
-
@erkage this works for me.
or in your case, the following should work...
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I'm using the WebComponent version for a Vue project and like to handle window resizing to enable Swiper just on mobile.
When I try to destory it with
swiperRef.value.destroy()
I'm gettingswiperRef.value.destroy is not a function
.If there's no destroy how I can achieve that if the window size is bigger than a number it seems like Swiper never got initialized? And I mean not just on load but dynamically on resize.
I initialize Swiper with this:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions