Path: blob/main/files/en-us/web/api/backgroundfetchevent/registration/index.md
6546 views
------{{APIRef("Background Fetch API")}}{{SeeCompatTable}}
The registration read-only property of the {{domxref("BackgroundFetchEvent")}} interface returns a {{domxref("BackgroundFetchRegistration")}} object.
Value
A {{domxref("BackgroundFetchRegistration")}}.
Examples
In this example, if the user clicks on the user interface displaying the download progress, this fires the onbackgroundfetchclick event. The current {{domxref("BackgroundFetchRegistration")}} is returned by calling event.registration.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}