New slide up/down for different states
This commit is contained in:
parent
826ea930b1
commit
e24628d775
7 changed files with 100 additions and 49 deletions
|
|
@ -653,7 +653,9 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
$timeout(function() {
|
||||
self.slideLeft = false;
|
||||
self.slideRight = false;
|
||||
}, 370);
|
||||
self.slideUp = false;
|
||||
self.slideDown = false;
|
||||
}, 400);
|
||||
});
|
||||
|
||||
$rootScope.$on('Animation/SlideLeft', function(event) {
|
||||
|
|
@ -664,6 +666,13 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
self.slideRight = true;
|
||||
});
|
||||
|
||||
$rootScope.$on('Animation/SlideUp', function(event) {
|
||||
self.slideUp = true;
|
||||
});
|
||||
|
||||
$rootScope.$on('Animation/SlideDown', function(event) {
|
||||
self.slideDown = true;
|
||||
});
|
||||
|
||||
$rootScope.$on('NewIncomingTx', function() {
|
||||
self.updateBalance();
|
||||
|
|
|
|||
|
|
@ -277,9 +277,9 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
};
|
||||
|
||||
var modalInstance = $modal.open({
|
||||
animation: false,
|
||||
animation: true,
|
||||
templateUrl: 'views/modals/txp-details.html',
|
||||
windowClass: 'full',
|
||||
windowClass: 'full animated slideInUp',
|
||||
controller: ModalInstanceCtrl,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue