SyncEvent.tag

Experimental

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The SyncEvent.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.

Syntax

var tag = SyncEvent.tag

Value

The developer-defined identifier for this SyncEvent.

Specifications

Specification
Web Background Synchronization (Background Sync)
# ref-for-dom-syncevent-tag

Browser compatibility

BCD tables only load in the browser