You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that the issue of adding touch behavior to the carousel has been discussed (#2640, #2711, #2468), and has been rejected for now, but I wanted to share my own attempt at it. I've created a separate module that wraps around the Carousel class and decorates it to add the swipe behavior. The main difference of this library compared to the previous propositions, is that it was important for me to not only use the swipe event as a trigger for sliding the carousel, but also allow users to "drag" the items while they's swiping - somewhat similar to how carousels are implemented in many native applications.
If you find it interesting, I'd love to add this functionality to the core Carousel class and submit a pull-request. For your consideration.
Also, any input on the code or library would be great.
The text was updated successfully, but these errors were encountered:
I know that the issue of adding touch behavior to the carousel has been discussed (#2640, #2711, #2468), and has been rejected for now, but I wanted to share my own attempt at it. I've created a separate module that wraps around the Carousel class and decorates it to add the swipe behavior. The main difference of this library compared to the previous propositions, is that it was important for me to not only use the swipe event as a trigger for sliding the carousel, but also allow users to "drag" the items while they's swiping - somewhat similar to how carousels are implemented in many native applications.
If you find it interesting, I'd love to add this functionality to the core Carousel class and submit a pull-request. For your consideration.
Also, any input on the code or library would be great.
The text was updated successfully, but these errors were encountered: