-
Notifications
You must be signed in to change notification settings - Fork 45
Vaadin 8 | Notifications
appreciated edited this page Jun 25, 2018
·
1 revision
To show to the user notifications. You can do as follows:
public class DemoUI extends UI {
DefaultNotificationHolder notifications = new DefaultNotificationHolder();
@Override
protected void init(VaadinRequest request) {
AppLayout drawer = AppLayoutBuilder.get(variant)
...
.addToAppBar(new AppBarNotificationButton(notifications, true);
...
.build();
setContent(drawer);
}
}