SyncEvent: tag property

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