mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-26 08:13:34 +08:00
Toggle zoom
This commit is contained in:
@ -31,7 +31,6 @@ export class Gesture {
|
||||
|
||||
on(type, cb) {
|
||||
if(type == 'pinch' || type == 'rotate') {
|
||||
console.log('Enabling pinch');
|
||||
this.hammertime.get('pinch').set({enable: true});
|
||||
}
|
||||
this.hammertime.on(type, cb);
|
||||
|
Reference in New Issue
Block a user