Notification.image

Note: 此特性在 Web Worker 中可用。

Secure context
This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

 imageNotification 接口的只读属性,包含了需要显示在通知信息里的图片的URL,可通过Notification()构造函数的 image 选项指定。

语法

var image = Notification.image;

规范

规范 状态 备注
Notifications API
image
Living Standard Living standard

浏览器兼容性

BCD tables only load in the browser

参见