Open multipliedtwice opened 2 years ago
hello, thank you for the great library. Is there any way to set the initial slide by index without using the method scrollItem and watching animation?
scrollItem
Also is there any way to enable drag snap?
You can use scrollTo and pass 0 for the second argument. You will need to pass the offset directly though which you can get by item width times the index.
scrollTo
0
hello, thank you for the great library. Is there any way to set the initial slide by index without using the method
scrollItem
and watching animation?Also is there any way to enable drag snap?