Replies: 1 comment
-
I attached ref="carousel" to the carousel and called like 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
-
I know I can do this:
<n-carousel @update:next="(value) => carouselNav(value)" keyboard mousewheel>
but I would like to have methods:
and when I call the method via eg.
<n-button @click="slideLeft" tertiary>My Custom Button</n-button>
the carousel will slide. There is nothing like this in the docs?
Beta Was this translation helpful? Give feedback.
All reactions