移动端触摸事件touchmove
时间: 2023-10-09 19:10:25 浏览: 110
移动端的触摸事件touchmove是在用户手指在屏幕上滑动时触发的事件。它是由touchstart事件开始,然后通过连续的touchmove事件来实现手指在屏幕上的滑动效果,最后在用户手指离开屏幕时触发touchend事件。在touchmove事件中,可以获取到手指滑动的坐标信息,可以用来实现一些与手指滑动相关的功能,比如拖动、滑动切换等。\[1\]\[2\]\[3\]
#### 引用[.reference_title]
- *1* *2* [移动端Touch (触摸)事件](https://blog.csdn.net/qq_51379218/article/details/121176276)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [移动端触摸相关事件踩坑(touchmove默认事件以及passive)](https://blog.csdn.net/qq_44880532/article/details/120843078)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文