use of com.github.appreciated.app.layout.builder.entities.DefaultNotification in project vaadin-app-layout by appreciated.
the class DemoUI method addNotification.
private void addNotification(DefaultNotification.Priority priority) {
DemoUI.this.access(() -> {
badge.increase();
notifications.addNotification(new DefaultNotification("Title" + badge.getCount(), "Description" + badge.getCount(), priority));
});
}
Aggregations