SyncEvent:tag 属性

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

备注: 此特性仅在 Service Worker 中可用。

SyncEvent 接口的 tag 只读属性将返回开发人员为此 SyncEvent 定义的标识符。这是通过 SyncEvent() 构造函数的 tag 参数传递的值。

开发人员为此 SyncEvent 定义的标识符。

规范

Specification
Web Background Synchronization
# ref-for-dom-syncevent-tag

浏览器兼容性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
tag

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
See implementation notes.