ProgressEvent.loaded
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.loaded
只读属性是一个整数,表示底层的进程已经执行的工作量。可以使用该属性和 ProgressEvent.total
计算完成工作的比率。当使用 HTTP 下载一个资源,其值以字节(而不是位)为单位,且仅表示内容(body)部分,不包含标头和其他开销。
值
一个数值。
规范
Specification |
---|
XMLHttpRequest # dom-progressevent-loaded |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | server | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
loaded |
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
接口。