Notifications API

The browser API for showing system-level notifications outside the page, which a service worker calls with registration.showNotification().

In more detail

A notification can include a title, body, icon and action buttons. Users must grant permission first; ask at a meaningful moment rather than on page load.

Related terms

Taught in

References