The image
read-only property of the Notification
interface contains the URL of an image to be displayed as part of the notification, as specified in the image
option of the Notification()
constructor.
var image = Notification.image;
A USVString
.
Specification | Status | Comment |
---|---|---|
Notifications API The definition of 'image' in that specification. | Living Standard | Living standard |
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | 53 | 18 | No | No | 40 | ? |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | No | 53 | ? | No | 40 | No | ? |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Notification/image