Skip to content

Commit f1ed249

Browse files
committed
Merge pull request #118 from thienhung1989/master
Add any option Flexible and more effective management
2 parents fd07c37 + 2404578 commit f1ed249

File tree

4 files changed

+435
-367
lines changed

4 files changed

+435
-367
lines changed

README.md

+21
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,24 @@ Copyright © 2013 [Jiri Kavulak](https://twitter.com/jirikavi).
107107

108108
## License
109109
AngularJS-Toaster is under MIT license - http://www.opensource.org/licenses/mit-license.php
110+
111+
##Changes Log
112+
## v0.4.13
113+
- Add option in function toaster.pop() , `toastId` to define 'uid', use the function 'toaster.clear ()'
114+
115+
```js
116+
var _toaster = {
117+
type: null,
118+
title: null,
119+
body: null,
120+
timeout: null,
121+
toasterId: 'CategoryMenu',
122+
toastId: 'CategoryMenuAlert'
123+
}
124+
```
125+
126+
- Add option in function toaster.clear()
127+
* toaster.clear(); --> clearAll with ToasterId = Undifined;
128+
* toaster.clear('*'); -> ClearAll()
129+
* toaster.clear('clearID'); -> clearAll() with toaster have ToasterId = 'clearID'
130+
* toaster.clear('clearID', 'toastID'); -> Just clearAll with toasts have uid = 'toastID' in ToasterId = 'clearID'.

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "AngularJS-Toaster",
3-
"version": "0.4.12",
3+
"version": "0.4.13",
44
"main": [
55
"toaster.js",
66
"toaster.css"

0 commit comments

Comments
 (0)