@@ -32,7 +32,7 @@ Need to use at least Bootstrap 3 or jQuery UI to make pretty notifications.
32
32
33
33
Include at least Bootstrap 3 or jQuery UI CSS.
34
34
35
- Include PNotify related assets. You need to include at least pnotify.core. css and pnotify.core .js.
35
+ Include PNotify related assets. You need to include at least pnotify.css and pnotify.js.
36
36
Don't forget pnotify.confirm.js if you need confirmation dialogs.
37
37
38
38
Then add angular-pnotify.js.
@@ -41,14 +41,14 @@ Here is an example using Bootstrap 3.
41
41
42
42
``` html
43
43
<link rel =" stylesheet" href =" bower_components/bootstrap/dist/css/bootstrap.min.css" >
44
- <link rel =" stylesheet" href =" bower_components/pnotify/pnotify.core .css" >
45
- <link rel =" stylesheet" href =" bower_components/pnotify/pnotify.buttons.css" >
44
+ <link rel =" stylesheet" href =" bower_components/pnotify/dist/ pnotify.css" >
45
+ <link rel =" stylesheet" href =" bower_components/pnotify/dist/ pnotify.buttons.css" >
46
46
47
47
<script src =" bower_components/jquery/dist/jquery.min.js" ></script >
48
48
<script src =" bower_components/angular/angular.js" ></script >
49
- <script src =" bower_components/pnotify/dist/pnotify.core. js" ></script >
50
- <script src =" bower_components/pnotify/pnotify.confirm.js" ></script >
51
- <script src =" bower_components/pnotify/pnotify.buttons.js" ></script >
49
+ <script src =" bower_components/pnotify/dist/pnotify.js" ></script >
50
+ <script src =" bower_components/pnotify/dist/ pnotify.confirm.js" ></script >
51
+ <script src =" bower_components/pnotify/dist/ pnotify.buttons.js" ></script >
52
52
<script src =" bower_components/angular-pnotify/src/angular-pnotify.js" ></script >
53
53
```
54
54
@@ -109,6 +109,12 @@ clearing all defaults.
109
109
110
110
` notificationService.notifyWithDefaults(options, [stack name]); `
111
111
112
+ #### removeNotifications
113
+
114
+ Will clear all currently showing notifications.
115
+
116
+ ` notificationService.removeNotifications(); `
117
+
112
118
### Provider
113
119
114
120
Sometimes you want to set defaults for the whole application. You can do so in your module's config.
0 commit comments