mirror of
https://github.com/flynx/PortableMag.git
synced 2025-11-02 04:50:12 +00:00
added pinch gestures...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
c15132d2a5
commit
5aacd010c7
@ -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')){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user