-
Notifications
You must be signed in to change notification settings - Fork 496
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
Start at the end (One item per frame) #222
Comments
I'm not 100% sure, but you can try using negative index in startAt: -1 Should work. If it doesn't, you can still use Sly's API to do what you want. Just call toEnd after the initialization: new Sly(frame, options).init().toEnd(); |
Thank you it's work well with "toEnd". |
new Sly(frame, options).init().toEnd(true); |
Thank you 👍 for the rapidity and the efficiency |
Hi,
I would like the last "item_year" get the class "active", not the first for start the slide from the left. How can I do this ? What could I change in the sly.js or anything else ? I try with startAt but it don't work and here on the picture there is only 3 "div" but in the future it will change so i can't put a static number.
I hope that you'll understand what I mean and sorry if my english is not correct.
Thank you
The text was updated successfully, but these errors were encountered: