Replies: 1 comment
-
Need exactly the same! Hope that someone will help with this |
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 have the following structure:
Now I want to have buttons within the
<Menubar>
component, that when clicked swipe to the next slide or the prev slide.I already tried to use a variable
swiper
and pass the functions as params to the<Menubar>
item, like<Menubar next={swiper.slideNext}>
...But since swiper is not defined, when the Menubar item gets initialized, that does not work.
Is there any nice way to do this?
So allow another component to control the swiper instance?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions