Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for BackgroundFetchEvent & BackgroundFetchUpdateUIEvent #32163

Merged
merged 7 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
update inherit info
  • Loading branch information
skyclouds2001 committed Jan 24, 2024
commit c9869efbd1a7220850b280da2068f947d488b5e6
4 changes: 3 additions & 1 deletion files/en-us/web/api/backgroundfetchevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ It is the event type passed to `backgroundfetchabort` and `backgroundfetchclick`

## Instance properties

_Inherits properties from its ancestor, {{domxref("Event")}}_.
_Also inherits properties from its parent, {{domxref("ExtendableEvent")}}._

- {{domxref("BackgroundFetchEvent.registration")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- : Returns the {{domxref("BackgroundFetchRegistration")}} that the event was initialized to.

## Instance methods

_Also inherits methods from its parent, {{domxref("ExtendableEvent")}}._

None.

## Examples
Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/api/backgroundfetchupdateuievent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ The **`BackgroundFetchUpdateUIEvent`** interface of the {{domxref('Background Fe

## Instance properties

_This interface doesn't implement any specific properties, but inherits properties from {{domxref("Event")}}, and {{domxref("BackgroundFetchEvent")}}._
_Also inherits properties from its parent, {{domxref("BackgroundFetchEvent")}}._

## Instance methods

_Also inherits methods from its parent, {{domxref("BackgroundFetchEvent")}}._

- {{domxref("BackgroundFetchUpdateUIEvent.updateUI()")}} {{Experimental_Inline}}
- : Updates the title and icon in the user interface to show the status of a background fetch. Resolves with a {{jsxref("Promise")}}.

Expand Down