-
Notifications
You must be signed in to change notification settings - Fork 68
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
Dynamically change auto hide delay for specific notifications #9
Comments
Hi, Thanks for such a great tool ! I was looking for the same feature. Requirement is 'error' notifications should stay until the user clicks on them. All other notifications can / should disappear after a few seconds. Is this already included ? If not when can we expect this to be ready ? |
Need same flexibility. |
This would be very useful for us also. |
Try this this.notifierService.getConfig().behaviour.autoHide = false; this.notifierService.getConfig().behaviour.autoHide = 2000; |
does not work for me, no matter the value I set, they disapear at the same time
my wrapper function
|
Hi there,
I really enjoy this so far, I just wish it had this one feature! Which is to set a custom auto hide delay for each individual notification. I saw this suggestion in your "Whats Next" portion. And this would be something that would be of great use to me!
So something like this:
notifier.show({type: 'success', message: 'Hello', id: 'some_id', autoHide: 5000});
notifier.show({type: 'info', message: 'Go away fast', id: 'some_id_2', autoHide: 1000});
or even in notify:
notifier.notify('success', 'short message', 2000);
Thanks!
The text was updated successfully, but these errors were encountered: