Skip to content

v0.4.1

Compare
Choose a tag to compare
@cristijora cristijora released this 16 Jan 16:09

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

Many thanks to Amandio Magalhães since the features from above are PRs sent by him. 👏