【文件属性】:
文件名称:jquery-touch:在jquery的基础上扩展触摸事件
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-21 09:31:39
JavaScript
jquery-touch
在jquery的基础上扩展触摸事件,由百度Touch.js改进而来
使用:
$('#id').on('pinchstart pinchend pinch pinchin pinchout rotateleft rotateright rotate swipestart swiping swipeend swipeleft swiperight swipeup swipedown swipe drag dragstart dragend hold tap doubletap', function(event) {
// 事件详细信息在:event.detail
console.log(event.detail);
});
【文件预览】:
jquery-touch-master
----jquery.touch.js(21KB)
----README.md(415B)