prelim website scan handler ui
This commit is contained in:
parent
2a7ed47548
commit
a24da40cb9
7 changed files with 80 additions and 5 deletions
|
|
@ -7,8 +7,15 @@ angular.module('copayApp.directives')
|
|||
templateUrl: 'views/includes/incomingDataMenu.html',
|
||||
link: function(scope, element, attrs) {
|
||||
$rootScope.$on('incomingDataMenu.showMenu', function() {
|
||||
scope.showMenu = true;
|
||||
console.log('in showMenu handler');
|
||||
$timeout(function() {
|
||||
console.log('in showMenu timeout');
|
||||
scope.showMenu = true;
|
||||
});
|
||||
});
|
||||
$timeout(function() {
|
||||
scope.showMenu = true;
|
||||
}, 2000);
|
||||
scope.$watch('showMenu', function() {
|
||||
console.log('scope.showMenu', scope.showMenu);
|
||||
if(!scope.showMenu) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue