-
Notifications
You must be signed in to change notification settings - Fork 729
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
API method to close Notification #2114
Comments
@Legioth Is there a reason why this issue got closed? |
This one is not closed. A red button indicates #8689 is closed. |
This issue is still relavant. Today I need to write a custom extension to display and possibly hide notifications programatically. |
opened this Issue on Feb 6, 2012 ! |
Artur-
added a commit
to Artur-/vaadin
that referenced
this issue
Dec 29, 2017
Also fixes the problem that notifications were never removed on the server side Fixes vaadin#2114
Artur-
added a commit
to Artur-/vaadin
that referenced
this issue
Jan 2, 2018
Also fixes the problem that notifications were never removed on the server side Fixes vaadin#2114, vaadin#10481
Artur-
added a commit
to Artur-/vaadin
that referenced
this issue
Jan 4, 2018
Also fixes the problem that notifications were never removed on the server side Fixes vaadin#2114, vaadin#10481
Artur-
added a commit
to Artur-/vaadin
that referenced
this issue
Jan 4, 2018
Also fixes the problem that notifications were never removed on the server side Fixes vaadin#2114, vaadin#10481
Artur-
added a commit
to Artur-/vaadin
that referenced
this issue
Jan 5, 2018
Also fixes the problem that notifications were never removed on the server side Fixes vaadin#2114, vaadin#10481
Artur-
added a commit
to Artur-/vaadin
that referenced
this issue
Jan 5, 2018
Also fixes the problem that notifications were never removed on the server side Fixes vaadin#2114, vaadin#10481
tsuoanttila
pushed a commit
that referenced
this issue
Jan 9, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally by @johannesh2
There should be an API method for closing a Notification shown with Window.showNotification(Notification). The method could be e.g. Window.hideNotification(Notification) or Notification.close().
This would be used in addition to the timeout. Example use case: If a timeout is 10 seconds for a notification, but the state of the application changes so that the notification is not relevant any more, it should be possible to hide the notification.
Imported from https://dev.vaadin.com/ issue #8351
The text was updated successfully, but these errors were encountered: