O'Reilly logo

Cross-Platform Desktop Applications: Using Node, Electron, and NW.js by Paul B. Jensen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15. Making desktop notifications

This chapter covers

  • Seeing how Electron supports desktop notifications through a third-party npm module
  • Using the HTML5 notification API to make desktop notifications in NW.js
  • Working with Twitter to create a live tweet notification app

When working day-to-day with computers, users tend to have a number of apps open and running while focusing on one app at a time. Applications such as chat apps, file downloaders, and music players may have activity, but if the user doesn’t have them in direct view or focus, they might miss that activity.

One feature provided by OSs is allowing notifications to be displayed as small dialogs that overlay all open and focused windows, usually in the top-right corner ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required