I have a requirement to create a drag-and-drop scrollable carousel that I can do with such http://flickity.metafizzy.co/ or http://idangero.us/swiper/ . However, none of them allows me to indicate the initial movement. Is it possible to simulate a mouse click on these carousels to “give them a spin”?
Sort of:
$('.home-map-wrapper').trigger('mousedown').trigger('mousemove', { clientX: 0, clientY: 0 }).trigger('mousemove', { clientX: 10, clientY: 0 });
Update 1
I created a flickety fiddle to demonstrate. How can I give this initial movement?
https://jsfiddle.net/sprintstar/b34w9uec/
Update 2
I want it to move initially, as if you grabbed it and gently pushed it away. But I do not want it to automatically advance, for example, using "autoPlay". Unfortunately, Flickerty does not offer such a configuration.
source
share