Set initital slide index
multipliedtwice opened this issue · 1 comments
multipliedtwice commented
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?
NickPiscitelli commented
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.