{{APIRef("Service Workers API")}} {{Non-standard_header}}
The parameter passed into the sync handler, the PeriodicSyncEvent interface represents a periodic sync action that is dispatched on the {{domxref("ServiceWorkerGlobalScope")}} of a ServiceWorker.
This interface inherits from the {{domxref("ExtendableEvent")}} interface.
{{InheritanceDiagram(700, 60, 20)}}
Constructor
- {{domxref("PeriodicSyncEvent.PeriodicSyncEvent()")}}
- Creates a new
PeriodicSyncEvent
object.
Properties
Inherits properties from its ancestor, {{domxref("Event")}}.
- {{domxref("PeriodicSyncEvent.registration")}}
- The instance of {{domxref("PeriodicSyncRegistration")}} that fired the event.
Methods
Inherits methods from its parent, {{domxref("ExtendableEvent")}}.
Examples
// TBD
Browser compatibility
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | {{CompatNo}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} |
Feature | Android | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile | Chrome for Android |
---|---|---|---|---|---|---|---|
Basic support | {{CompatNo}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatNo}} |