FetchEvent() constructor creates a new
var myFetchEvent = new FetchEvent(type, init);
Requestobject that would have triggered the event handler.
Clientthat the current service worker is controlling. This property is not yet implemented in Chrome.
Booleanthat signifies whether the page was reloaded or not when the event was dispatched.
trueif yes, and
falseif not. Typically, pressing the refresh button in a browser is a reload, while clicking a link and pressing the back button is not. If not present, it defaults to
|Service Workers |
The definition of 'FetchEvent' in that specification.
|Working Draft||Initial definition.|
|Android webview||Chrome for Android||Edge Mobile||Firefox for Android||Opera for Android||iOS Safari||Samsung Internet|
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.