-
I want to get currentSlide in I know there is way below in template
is there any way to get currentSlide in script? |
Beta Was this translation helpful? Give feedback.
Answered by
ismail9k
Nov 7, 2021
Replies: 1 comment 3 replies
-
You can pass a variable to the carousel via the |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
ismail9k
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can pass a variable to the carousel via the
v-model
prop, it will be updated with the current slide value. Or you can add a ref to the carousel component and you will have access to all data and methods.