--- title: PerformanceTiming.domLoading slug: Web/API/PerformanceTiming/domLoading translation_of: Web/API/PerformanceTiming/domLoading ---
{{APIRef("Navigation Timing")}}
PerformanceTiming
.domLoading
是一个返回代表一个时刻的 unsigned long long
型只读属性,为解析器开始工作,即 {{domxref("Document.readyState")}} 改变为 'loading'
并且 {{event("readystatechange")}} 事件被触发之时的 Unix毫秒时间戳。
time = performanceTiming.domLoading;
Specification | Status | Comment |
---|---|---|
{{SpecName('Navigation Timing', '#dom-performancetiming-domloading', 'PerformanceTiming.domLoading')}} | {{Spec2('Navigation Timing')}} | Initial definition. |
{{Compat("api.PerformanceTiming.domLoading")}}