0
How do I code the 'swipe' function to a web?
3 Respuestas
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/
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
0
Thank you