Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting the value of UCarousels API, select (page) #1742

Open
KealanAU opened this issue May 3, 2024 · 0 comments
Open

Setting the value of UCarousels API, select (page) #1742

KealanAU opened this issue May 3, 2024 · 0 comments
Labels
question Further information is requested

Comments

@KealanAU
Copy link

KealanAU commented May 3, 2024

Description

How can I set the carouselRef.value.select during the onMounted lifecycle of a component when using UCarousel? I've tried following the autoplay example provided in the UCarousel, but it seems that when changing from interval to nexttick in onMounted .select isn't functioning as expected. What would be the most effective approach to achieving setting the prop/value so that i can start the carousel at n

StackBlitz-Example

@KealanAU KealanAU added the question Further information is requested label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant