toggle drag

This commit is contained in:
Adam Bradley
2013-10-01 09:42:54 -05:00
parent 04bfa7c524
commit c7b96cb52d
10 changed files with 137 additions and 44 deletions

View File

@ -93,6 +93,8 @@
if(this === this.window) {
// this is a window, then only allow the Tap gesture to be added
ionic.Gestures.detection.register(ionic.Gestures.gestures.Tap);
ionic.Gestures.detection.register(ionic.Gestures.gestures.Drag);
ionic.Gestures.detection.register(ionic.Gestures.gestures.Release);
} else {
// everything else but the window
for(var name in ionic.Gestures.gestures) {