+ 9
I'm stuck with mouse function
wrapper.addEventListener('mousemove', function(e) ....... I'm coding in mobile ......is there any function regarding touch screen thing .....to replace this?
3 odpowiedzi
+ 5
here is an example for mouse actions in dome https://code.sololearn.com/Wk8Wgk17wM98/?ref=app
but tthere is another way handle mouse actions like when you add a listener. jquery handles it with touchstart , touchmove and touchend
+ 1
replace mousemove with touchmove
0
mobile don't have mouse by default..
you gonna need PC or additional mouse device if mobile..