PerformanceTiming.domContentLoadedEventStart

概要

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

语法

time = performanceTiming.domContentLoadedEventStart;

规范

因为 Navigation Timing 规范已被弃用,此特性不再有望成为标准。请使用 PerformanceNavigationTiming 接口代替。

浏览器兼容性

BCD tables only load in the browser

参见