v0.4.1
Minor Changes
- #11 Pass notification instance as second param to onClick method: a4b63c4
You can pass a click handler when clicking on a notification and recieve both the click event and the notification instance
this.$notify({
...
onClick: (event, notificationInstance) => {
alert('You clicked a notification');
}
...
})
- Make notification without timeout: 49e5345
this.$notify({
...
timeout: 0 // providing a 0 value will not auto close the notification
...
})
Patches
- Added editorconfig: 4b0f51e
Many thanks to Amandio Magalhães since the features from above are PRs sent by him. 👏