A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/BackgroundFetchEvent/registration below:

BackgroundFetchEvent: registration property - Web APIs

BackgroundFetchEvent: registration property

Limited availability

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

Note: This feature is only available in Service Workers.

The registration read-only property of the BackgroundFetchEvent interface returns a BackgroundFetchRegistration object.

Value

A BackgroundFetchRegistration.

Examples

In this example, if the user clicks on the user interface displaying the download progress, this fires the backgroundfetchclick event. The current BackgroundFetchRegistration is returned by calling event.registration.

addEventListener("backgroundfetchclick", (event) => {
  console.log(event.registration);
});
Specifications Browser compatibility

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4