summaryrefslogtreecommitdiff
path: root/www/js/MontageCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/MontageCtrl.js')
-rw-r--r--www/js/MontageCtrl.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js
index ca9d3dd6..9d0fe352 100644
--- a/www/js/MontageCtrl.js
+++ b/www/js/MontageCtrl.js
@@ -311,6 +311,20 @@ function initPackery()
}
+ $scope.swipeUp = function()
+ {
+ console.log ("SWIPE UP");
+ $ionicScrollDelegate.$getByHandle("montage-delegate").scrollBy(0, $rootScope.devHeight/2, true);
+ };
+
+ $scope.swipeDown = function()
+ {
+ console.log ("SWIPE DOWN");
+ $ionicScrollDelegate.$getByHandle("montage-delegate").scrollBy(0, -($rootScope.devHeight/2), true);
+ };
+
+
+
$scope.closeReorderModal = function () {