metafizzy / flickity

:leaves: Touch, responsive, flickable carousels
https://flickity.metafizzy.co
7.53k stars 602 forks source link

Use custom handle with PlainDraggable item #1014

Closed yepecece closed 4 years ago

yepecece commented 4 years ago

Hi, I am trying to use a custom handle that has a drag event drag item created with PlainDraggable (https://anseki.github.io/plain-draggable/). Do you have an idea as how I could bind the drag of the slider with the drag of the item?

Here is a basic slider with a custom handle and the draggable item. https://jsfiddle.net/1unbwmja/10/

Thanks

desandro commented 4 years ago

Sorry, Flickity does not provide a straightforward API to manually set the position.