I would like to know if there's any way to detect that a pinch zoom event has taken place. I could achieve it by using this event binding for iOS
$(document).bind('gesturechange',function(event){
zoomAdjust();
});
Is there any such event for android devices?
I would like to know if there's any way to detect that a pinch zoom event has taken place. I could achieve it by using this event binding for iOS
$(document).bind('gesturechange',function(event){
zoomAdjust();
});
Is there any such event for android devices?
Share Improve this question asked Jul 17, 2012 at 6:27 Shades88Shades88 8,36025 gold badges92 silver badges134 bronze badges 4- Have you tried that in Android? Usually the events are the same. – ThinkingStiff Commented Jul 17, 2012 at 6:30
- Possible duplicate: stackoverflow./questions/9818336/jquery-android-pinch-zoom – Peter Commented Jul 17, 2012 at 6:31
- @ThinkingStiff yes I tried that in android, didn't work – Shades88 Commented Jul 17, 2012 at 7:07
- any reason for downvote? – Shades88 Commented Jul 17, 2012 at 7:11
2 Answers
Reset to default 2There is a great js ready for this called Hammer JS
There is also another great jQuery plugin called TouchSwipe.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744275805a4566324.html
评论列表(0条)