I am very new to using vue. I just encountered a simple problem. How to access the API provided by vue3-carousel according to the documentation: https://ismail9k.github.io/vue3-carousel/getting-started.html
Under the API section, the library provides some methods, for example I want to use the slideTo(index: number) method provided by the documentation to start the carousel on the second item instead of the default first item.
P粉4640884372024-03-22 17:33:15
Internally, vue3-carousel uses the expose method in the composition API, which exposes properties/methods on the component instance through a template reference.
sssccc