0

How do I code the 'swipe' function to a web?

25th Apr 2020, 4:27 PM
Muhumuza Ian
Muhumuza Ian - avatar
3 Answers
0
There is no simple function to do that. You will have to monitor the scroll event yourself with javascript. If you use jquery, get slick.js a plugin for that purpose https://kenwheeler.github.io/slick/
25th Apr 2020, 4:33 PM
Ore
Ore - avatar
0
Explore the js part of this code of mine... I've implemented a swipe handling for this slider mostly done with pure Html/Css (if no JS, the root feature are still working: only auto-slide, swipe and arrow keys are handled with js -- animations, buttons... are all done without JS): https://code.sololearn.com/WV5yE2En8S84/?ref=app
26th Apr 2020, 2:39 AM
visph
visph - avatar
0
Thank you
28th Apr 2020, 10:21 PM
Muhumuza Ian
Muhumuza Ian - avatar