Directory

← Back

WebNotifications

Web Notifications (desktop notifications)

Author

Rating

Popularity

<100

Integrates the Web Notifications API so that you get native desktop notifications.

The notifications can be seen even if user can't currently see the application (working in a different tab, or not even in the browser).

The notifications integrate nicely with e.g OS X notification center.

Uses Notify.js by Alex Gibson.

Sample code

webNotification.requestPermission();

		Button button = new Button("Notify Me");
		button.addClickListener(new Button.ClickListener() {
			public void buttonClick(ClickEvent event) {
				webNotification.show("New message", "Click here to view");
			}
		});

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Released
2014-10-30
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.0+
Browser
Firefox
Safari
Google Chrome

WebNotifications - Vaadin Add-on Directory

Web Notifications (desktop notifications) WebNotifications - Vaadin Add-on Directory
Integrates the Web Notifications API so that you get native desktop notifications. The notifications can be seen even if user can't currently see the application (working in a different tab, or not even in the browser). The notifications integrate nicely with e.g OS X notification center. Uses Notify.js by Alex Gibson.
Issue Tracker
Source Code
Notify.js
Online Demo

WebNotifications version 1.0.0
null

Online