You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usecase: Run another method once a NotyfNotification is added, dismissed or the timeout expires.
I assumed that with the NotyfNotification class now including on and triggerEvent methods, an event would now be triggered when a notification was removed/added. It appears that triggerEvent is only used to trigger user input events.
Do you have anything against calling NotyfNotification.prototype.triggerEvent in NotyfArray.prototype.push and NotyfArray.prototype.splice?
The text was updated successfully, but these errors were encountered:
BlueWater86
changed the title
Inability to wait for NotyfNotification to be spliced
Inability to wait for NotyfNotification to be removed
Apr 5, 2021
Usecase: Run another method once a NotyfNotification is added, dismissed or the timeout expires.
I assumed that with the NotyfNotification class now including on and triggerEvent methods, an event would now be triggered when a notification was removed/added. It appears that triggerEvent is only used to trigger user input events.
Do you have anything against calling NotyfNotification.prototype.triggerEvent in NotyfArray.prototype.push and NotyfArray.prototype.splice?
The text was updated successfully, but these errors were encountered: