Alert when incoming transaction (not proposal)
This commit is contained in:
parent
70cae4135f
commit
edb3e75800
3 changed files with 13 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ angular.module('notifications', []).
|
|||
|
||||
var settings = {
|
||||
info: { duration: 5000, enabled: true },
|
||||
funds: { duration: 5000, enabled: true },
|
||||
warning: { duration: 5000, enabled: true },
|
||||
error: { duration: 5000, enabled: true },
|
||||
success: { duration: 5000, enabled: true },
|
||||
|
|
@ -115,6 +116,11 @@ angular.module('notifications', []).
|
|||
console.log(title, content);
|
||||
return this.awesomeNotify('info','loop', title, content, userData);
|
||||
},
|
||||
|
||||
funds: function(title, content, userData){
|
||||
console.log(title, content);
|
||||
return this.awesomeNotify('funds','bitcoin', title, content, userData);
|
||||
},
|
||||
|
||||
error: function(title, content, userData){
|
||||
return this.awesomeNotify('error', 'remove', title, content, userData);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue