SyncEvent: tag property

Limited availability

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

Note: This feature is only available in Service Workers.

The tag read-only property of the SyncEvent interface returns the developer-defined identifier for this SyncEvent. This is the value passed in the tag parameter of the SyncEvent() constructor.

Value

The developer-defined identifier for this SyncEvent.

Specifications

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

Browser compatibility

BCD tables only load in the browser