我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译
您也可以阅读此文章的English (US)版。

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.

Note: This feature is available in Web Workers.

Syntax

var image = Notification.image;

Value

A USVString.

Specifications

Specification Status Comment
Notifications API
The definition of 'image' in that specification.
Living Standard Living standard

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support53 ? No No40 ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No53 ? No40 ? ?

See also

文档标签和贡献者

此页面的贡献者: fscholz, jpmedley, david_ross
最后编辑者: fscholz,