Skip to content
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

q-carousel with reverse autoplay #8111

Closed
rulrok opened this issue Nov 26, 2020 · 1 comment
Closed

q-carousel with reverse autoplay #8111

rulrok opened this issue Nov 26, 2020 · 1 comment

Comments

@rulrok
Copy link

rulrok commented Nov 26, 2020

Describe the solution you'd like
autoplay only moves to the next slide.

I'd be handy to have a reverse-autoplay property so autoplay would call the previous slide instead and be compatible with the swipe actions.

https://quasar.dev/vue-components/carousel#Infinite-and-autoplay

@rstoenescu
Copy link
Member

The autoplay prop will now accept negative numbers (unit is ms).

  • Boolean false -> default, no autoplay
  • Boolean true -> enables autoplay with the default 5000ms interval
  • val > 0 -> enables autoplay with "val" ms interval (steps to next slide)
  • val < 0 -> enables autoplay with Math.abs(val) ms interval (steps to previous slide)

This will be available in Quasar v2.1.10

pdanpdan added a commit to pdanpdan/quasar that referenced this issue Oct 23, 2021
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Oct 25, 2021
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Oct 30, 2021
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Nov 5, 2021
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Nov 5, 2021
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Nov 5, 2021
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Nov 5, 2021
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Nov 6, 2021
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Nov 10, 2021
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 1, 2021
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 6, 2021
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 8, 2021
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants