Use methods with Swiper Element in React #6854
Unanswered
zewas-digital
asked this question in
Q&A
Replies: 1 comment
-
Swiper instance is available as |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I am using swiper 10.4 and since its suggested to switch from swiper/react to swiper/elements, I wanted to ask how I use methods like slidePrev() or slideNext() with this combination.
Before I used useSwiper from swiper/react like:
My Question:
How do I replace the above code so that I can use methods like
.slideNext()
with Swiper ElementMy Code:
Maybe it is a simple answer and I’m just stupid.
Thanks in advance for any help.
Beta Was this translation helpful? Give feedback.
All reactions