--- title: PerformanceTiming.domContentLoadedEventStart slug: Web/API/PerformanceTiming/domContentLoadedEventStart translation_of: Web/API/PerformanceTiming/domContentLoadedEventStart ---

{{APIRef("Navigation Timing")}}

概要

PerformanceTiming.domContentLoadedEventStart 是一个返回代表一个时刻的 unsigned long long 型只读属性,为解析器发出 {{event("DOMContentLoaded")}} 事件之前,即所有的需要被运行的脚本已经被解析之时的 Unix毫秒时间戳。

语法

time = performanceTiming.domContentLoadedEventStart;

标准

Specification Status Comment
{{SpecName('Navigation Timing', '#dom-performancetiming-domcontentloadedeventstart', 'PerformanceTiming.domContentLoadedEventStart')}} {{Spec2('Navigation Timing')}} Initial definition.

浏览器兼容性

{{Compat("api.PerformanceTiming.domContentLoadedEventStart")}}

参见