平移元素后,在hammer.js中无法识别DoubleTap。
var singleTap = new Hammer.Tap({event:'singletap',taps:1});
var doubleTap = new Hammer.Tap({event:'doubletap',taps:2,posThreshold:3000,threshold:300});
var tripleTap = new Hammer.Tap({event:'tripletap',taps: 3 });
mcViewer.add([tripleTap, doubleTap, singleTap]);
tripleTap.recognizeWith([doubleTap, singleTap]);
doubleTap.recognizeWith(singleTap);
doubleTap.requireFailure(tripleTap);
singleTap.requireFailure([tripleTap, doubleTap]);