ProgressEvent: total プロパティ
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
ProgressEvent.total
は読み取り専用のプロパティであり、 64 ビット符号なし整数値で、処理または転送されるデータの全体の大きさを示します。 HTTP 通信の場合は、これはメッセージの本文の大きさ (Content-Length
) であり、ヘッダーやその他のオーバーヘッドは含みません。
このイベントの lengthComputable
プロパティが false
であった場合、この値は意味がなく、無視されます。
値
整数です。
仕様書
Specification |
---|
XMLHttpRequest # dom-progressevent-total |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | server | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
total |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
関連情報
- 所属先の
ProgressEvent
インターフェイス