Notification: badge property
Note: This feature is available in Web Workers
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
badge property of the
interface returns the URL of the image used to represent the notification when there is
not enough space to display the notification itself.
A string containing a URL.
|Notifications API Standard |
BCD tables only load in the browser