added pinch gestures...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-01-23 16:35:30 +04:00
parent c15132d2a5
commit 5aacd010c7

View File

@ -41,6 +41,15 @@ $(document).ready(function(){
//togglePageView('on')
togglePageView()
},
pinchIn: function(event, direction, distance, duration, fingerCount, pinchZoom) {
togglePageView('on')
},
pinchOut: function(event, direction, distance, duration, fingerCount, pinchZoom) {
togglePageView('off')
},
// XXX for some reason this deos not bubble up the nested elements...
click: function(evt, elem){
if($(elem).hasClass('page')){