ProgressEvent.lengthComputable
只读属性是一个布尔Boolean
标志,表示ProgressEvent
所关联的资源是否具有可以计算的长度。否则 ,ProgressEvent.total
属性将是一个无意义的值。
语法
flag = ProgressEvent.lengthComputable
规范
规范 | 状态 | 备注 |
---|---|---|
XMLHttpRequest ProgressEvent.lengthComputable |
Living Standard |
浏览器兼容性
We're converting our compatibility data into a machine-readable JSON format.
This compatibility table still uses the old format,
because we haven't yet converted the data it contains.
Find out how you can help!
Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic support | 未实现 | (Yes) | 3.5 (1.9.1) | 未实现 | 未实现 | 未实现 |
Feature | Android | Edge | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | 未实现 | (Yes) | 1.0 (1.9.1) | 未实现 | 未实现 | 未实现 |
See also
- The
ProgressEvent
interface it belongs to.