toastifier
Advanced tools
Comparing version 1.2.2 to 1.3.0
{ | ||
"name": "toastifier", | ||
"version": "1.2.2", | ||
"version": "1.3.0", | ||
"description": "Light and Simple Multi-Framework Toaster", | ||
@@ -27,3 +27,3 @@ "main": "script.js", | ||
}, | ||
"homepage": "https://github.com/varun-singhh/Toastifier#readme" | ||
"homepage": "https://toastifier.vercel.app/" | ||
} |
@@ -50,2 +50,4 @@ ## Installation | ||
| `border` | `String` | Border, by default based on toast type | | ||
| `onAppear` | `Function` | Callback executes when toast appears | | ||
| `onDisappear` | `Function` | Callback executes when toast disappears | | ||
@@ -91,2 +93,4 @@ <br /> | ||
}, | ||
onAppear: () => console.log('toast appeared'), | ||
onDisappear: () => console.log('toast disappeared') | ||
}; | ||
@@ -93,0 +97,0 @@ const notify = () => toastifier("Boom! it Worked", options); |
Sorry, the diff of this file is too big to display
84525
615
112