prelim bitcoin address support for incoming data menu
This commit is contained in:
parent
8c8bbd6cd3
commit
e9aaec3c68
3 changed files with 53 additions and 22 deletions
|
|
@ -1,15 +1,18 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.directives')
|
||||
.directive('incomingDataMenu', function($timeout, $rootScope) {
|
||||
.directive('incomingDataMenu', function($timeout, $rootScope, bitcore) {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'views/includes/incomingDataMenu.html',
|
||||
link: function(scope, element, attrs) {
|
||||
$rootScope.$on('incomingDataMenu.showMenu', function(event, data) {
|
||||
$timeout(function() {
|
||||
scope.data = data;
|
||||
scope.data = data.data;
|
||||
scope.type = data.type;
|
||||
scope.showMenu = true;
|
||||
|
||||
console.log('data', data);
|
||||
});
|
||||
});
|
||||
scope.hide = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue