概要
PerformanceTiming
.domLoading
是一个返回代表一个时刻的 unsigned long long
型只读属性,为解析器开始工作,即 Document.readyState
改变为 'loading'
并且 readystatechange
事件被触发之时的 Unix毫秒时间戳。
语法
time = performanceTiming.domLoading;
标准
Specification | Status | Comment |
---|---|---|
Navigation Timing PerformanceTiming.domLoading |
Recommendation | Initial definition. |
浏览器兼容性
BCD tables only load in the browser
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.
参见
- 它属于
PerformanceTiming
接口。