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 |
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | 55 | 4.0 moz (see notes) 22 | No support | 42 | No support |
Available in workers | 55 | 41.0 (41.0) | ? | 42 | ? |
Secure contexts only | 62 | ? | ? | 49 | ? |
Feature | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|---|
Basic support | No support | 55 | 4.0 moz (see notes) 22 | 1.0.1 moz (see notes) 1.2 | No support | 42 | No support |
Available in workers | No support | 55 | 41.0 (41.0) | ? | ? | 42 | ? |
Secure contexts only | No support | 62 | ? | ? | ? | 49 | ? |
© 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