ProgressEvent.loaded
read-only property is an integer representing the amount of work already performed by the underlying process. The ratio of work done can be calculated with the property and
ProgressEvent.total
. When downloading a resource using HTTP, this only represent the part of the content itself, not headers and other overhead.
value = ProgressEvent.loaded
| 规范 | 状态 | 注释 |
|---|---|---|
|
XMLHttpRequest
The definition of 'ProgressEvent.loaded' in that specification. |
实时标准 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
loaded
|
Chrome Yes | Edge 12 | Firefox 3.5 | IE No | Opera Yes | Safari Yes | WebView Android Yes | Chrome Android Yes | Firefox Android 4 | Opera Android Yes | Safari iOS Yes | Samsung Internet Android Yes |
完整支持
不支持
ProgressEvent
interface it belongs to.
ProgressEvent
lengthComputable
loaded
total