Notification.image
备注: 此特性在 Web Worker 中可用
image
是Notification
接口的只读属性,包含了需要显示在通知信息里的图片的 URL,可通过Notification()
构造函数的 image
选项指定。
语法
var image = Notification.image;
值
规范
Specification |
---|
Notifications API Standard # image-resource |
浏览器兼容性
BCD tables only load in the browser