Can you set index of carousel or just read it? #71
-
I am trying to let users skip to a certain item within the carousel by choosing it from a list. However, it doesn't look like I can set the index of the carousel, but only read it. Is that true? I have used the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@austinmrobinson Yes, you're right. Sadly, you cannot set a specific index to jump to its respective item at the moment. However, you can jump to the left or right from the current item using |
Beta Was this translation helpful? Give feedback.
@austinmrobinson Yes, you're right. Sadly, you cannot set a specific index to jump to its respective item at the moment. However, you can jump to the left or right from the current item using
carouselTrigger(_:)
modifier. I also note your requirement and will make it include in future. Anyway, thank you for letting me know. :)