--- title: PerformanceTiming.domContentLoadedEventEnd slug: Web/API/PerformanceTiming/domContentLoadedEventEnd tags: - 性能 translation_of: Web/API/PerformanceTiming/domContentLoadedEventEnd ---

{{APIRef("Navigation Timing")}}

Summary

PerformanceTiming.domContentLoadedEventEnd 为只读属性,返回一个无符号长整型数值(unsigned long),以UNIX时间戳的形式表示一个时刻,这个时刻为所有需要尽早执行的脚本不管是否按顺序,都已经执行完毕。(译注:即DOM Ready)

Syntax

time = performanceTiming.domContentLoadedEventEnd;

Specifications

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

Browser compatibility

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

See also