以下是四种touch事件
touchstart: //手指放到屏幕上时触发
touchmove: //手指在屏幕上滑动式触发
touchend: //手指离开屏幕时触发
touchcancel: //系统取消touch事件的时候触发,这个好像比较少用
每个触摸事件被触发后,会生成一个event对象,event对象里额外包括以下三个触摸列表
touches: //当前屏幕上所有手指的列表
targetTouches: //当前dom元素上手指的列表,尽量使用这个代替touches
changedTouches: //涉及当前事件的手指的列表,尽量使用这个代替touches
touchcancel: 当触摸点被中断时会触发 touchcancel 事件
touchend: 当一个或多个触摸点从触摸表面移除时触发
touchmove: 当一个或多个触摸点沿触摸表面移动时触发
touchstart: 当一个或多个触摸点与触控设备表面接触时触发