Note: This feature is available in Web Workers
badge property of the
interface returns a string containing the URL of an image to represent the notification when there is not enough space to display the notification itself such as for example, the Android Notification Bar. On Android devices, the badge should accommodate devices up to 4x resolution, about 96 by 96 px, and the image will be automatically masked.
A string containing a URL.
|Notifications API Standard |
BCD tables only load in the browser