-
-
Notifications
You must be signed in to change notification settings - Fork 199
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
Autoplay other direction (rtl instead of ltr) #495
Comments
Hi @mkruip05, I just tested the autoplay plugin with
That's enough to get it working. Best, |
I am using the code below, can you tell me what I am doing wrong. Hope you can help me with this issue. `import EmblaCarousel from 'embla-carousel' const teamSlider = document.querySelector('.c-team.embla'); if (teamSlider) { const setupEmblaCarousel = (teamSlider) => {
}; setupEmblaCarousel(teamSlider) |
@mkruip05 please read the contribution guidelines. It seems like you've missed quite a lot about how to write your report in order to get proper help. From the guidelines:
|
@davidjerleke sadly doesn't work. I will try to find another workaround. Thanks for your help. |
@mkruip05 maybe you’re misunderstanding what |
@davidjerleke yes that is right. I was hoping I could change the direction of the autoplay instead of aligning the text to the right. |
Ok so that’s where the confusion comes from. You wrote What you want is to be able to set the autoplay to move in the opposite direction. It should advance to the previous snap instead of next. This is not possible with the current state of things. I guess you missed this: Please read that. Thank you for understanding. Best, |
Feature request is related to
Is your feature request related to an issue?
In the documentation it is possible to set the direction of a slider to a different setting (ltr or rtl), but it seems not working if you use the autoslide plugin.
Describe the solution you'd like
An extra option for the autoplay plugin to set the direction the other way (rtl instead of ltr)
The text was updated successfully, but these errors were encountered: