How can I keep the browser pinch to zoom and use the hammer.js pinch events?
问题 Here is my code... just a simple test as I have never used hammer.js before: var hammerTime = new Hammer($('#hammerTarget').get(0)); hammerTime.add(new Hammer.Pinch({event: 'pinch'})); // Add pinch gesture events. hammerTime.on('pinchin', function(event) { console.log('hammer pinchin'); }).on('pinchout', function(event) { console.log('hammer pinchout'); }).on('pinchend', function(event) { console.log('hammer pinchend'); }); This works fine, I can detect the pinch, but now on my pinch target I