BackgroundFetchRegistration.uploadTotal
The uploadTotal
read-only property of the BackgroundFetchRegistration
interface returns the total number of bytes to be sent to the server.
Value
A number
.
Examples
Logging BackgroundFetchRegistration.uploadTotal
to the console returns the uploadTotal.
console.log(bgFetch.uploadTotal);
Specifications
Specification |
---|
Background Fetch # dom-backgroundfetchregistration-uploadtotal |
Browser compatibility
BCD tables only load in the browser