jQuery -- touch事件之滑動判斷(左右上下方向)

$(".p1_img4").on("touchstart", function(e) { // 判斷默認行爲是否能夠被禁用 if (e.cancelable) { // 判斷默認行爲是否已經被禁用 if (!e.defaultPrevented) { e.preventDefault()
相關文章
相關標籤/搜索