The SyncEvent
interface represents a sync action that is dispatched on the ServiceWorkerGlobalScope
of a ServiceWorker.
This interface inherits from the ExtendableEvent
interface.
Constructor
-
SyncEvent()
Experimental
-
Creates a new SyncEvent
object.
Instance properties
Inherits properties from its ancestor, Event
.
-
SyncEvent.tag
Read only Experimental
-
Returns the developer-defined identifier for this SyncEvent
.
-
SyncEvent.lastChance
Read only Experimental
-
Returns true
if the user agent will not make further synchronization attempts after the current attempt.
Instance methods
Inherits methods from its parent, ExtendableEvent
.
None.
Browser compatibility
|
Desktop |
Mobile |
|
Chrome |
Edge |
Firefox |
Internet Explorer |
Opera |
Safari |
WebView Android |
Chrome Android |
Firefox for Android |
Opera Android |
Safari on IOS |
Samsung Internet |
SyncEvent |
49 |
79 |
No |
No |
36 |
No |
49 |
49 |
No |
36 |
No |
5.0 |
SyncEvent |
49 |
79 |
No |
No |
36 |
No |
49 |
49 |
No |
36 |
No |
5.0 |
lastChance |
49 |
79 |
No |
No |
36 |
No |
49 |
49 |
No |
36 |
No |
5.0 |
tag |
49 |
79 |
No |
No |
36 |
No |
49 |
49 |
No |
36 |
No |
5.0 |