new notifierService($log, $q, $routeParams, toastr)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
$log |
service
|
AngularJS Logging Service |
$q |
service
|
AngularJS Promise service |
$routeParams |
service
|
AngularJS route parameters |
toastr |
service
|
Toastr notifications |
Methods
(static) error(msg, title)
Pop a error message
- Source:
Parameters:
Name | Type | Description |
---|---|---|
msg |
String
|
Message to display |
title |
String
|
Title of message |
(static) getWinFocus() → {Promise}
Get window focus status To notify user of application dependent on window focus
- Source:
Returns:
- Type:
-
Promise
Promise when the focus is established
(static) success(msg, title)
Pop a success message
- Source:
Parameters:
Name | Type | Description |
---|---|---|
msg |
String
|
Message to display |
title |
String
|
Title of message |
(static) warning(msg)
Pop a warning message
- Source:
Parameters:
Name | Type | Description |
---|---|---|
msg |
String
|
Message to display |