mirror of
https://github.com/flynx/PortableMag.git
synced 2025-12-20 02:21:47 +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('on')
|
||||||
togglePageView()
|
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...
|
// XXX for some reason this deos not bubble up the nested elements...
|
||||||
click: function(evt, elem){
|
click: function(evt, elem){
|
||||||
if($(elem).hasClass('page')){
|
if($(elem).hasClass('page')){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user