简体   繁体   中英

Is there any way to hide Vaadin Notifications?

Requirement: hide active Vaadin Notifications when the user navigates to a different page.

How can this be achieved? The only suitable method that seems elligible for hiding would seem to be notification.setDelayMsec(0); , since there is no hide method provided.

Is there some kind of page change event that can be used?

Currently there is no way to do that, but there is a enhancement request in Vaadin issue tracker to add that functionality. Please vote for the issue if you would like this to be added.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM