Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inability to wait for NotyfNotification to be removed #99

Open
BlueWater86 opened this issue Apr 5, 2021 · 0 comments
Open

Inability to wait for NotyfNotification to be removed #99

BlueWater86 opened this issue Apr 5, 2021 · 0 comments

Comments

@BlueWater86
Copy link

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?

@BlueWater86 BlueWater86 changed the title Inability to wait for NotyfNotification to be spliced Inability to wait for NotyfNotification to be removed Apr 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant