当耐特

Results 410 comments of 当耐特

拿到两个坐标除以2 ```js pinch: function (evt) { console.log((evt.touch[0].pageX+evt.touch[1].pageX)/2); }, ```

tap本身是不会冒泡,因为比如document和document.body都没有自带tap事件,所以没有必要阻止,阻止也是阻止 touchend。所以你在touchend的回调里阻止不就可以了?!

遍历每个元素,new多个AlloyFinger 。。。

evt.preventDefault

https://github.com/qbright/wx-touch-event 有人搞了个

oh sure! welcome to pr! :) @chenweiqun