C
C
Captain Cocoa2015-10-18 17:28:13
JavaScript
Captain Cocoa, 2015-10-18 17:28:13

Dragscroll with a finger on a tablet / phone, how to do?

Hello everyone, there is a wonderful plugin " Dragscroll " that allows you to drag and drop images with the cursor, saving us from inconvenient scrolling.
But there was a need to make it possible to drag the picture with your finger on mobile devices.
Tell me how to implement it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nazar Mokrinsky, 2015-10-18
@nazarpc

Touch events need to be handled, they are different from mouse events. Either use a library/plugin that natively supports touch, or add support for touch events to said plugin and send a PR to the developer.
The functionality is simple, you can write on your knee.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question