This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

domContentLoadedEventStart

Summary

Returns the time immediately before the user agent fires the DOMContentLoaded event at the Document.

Property of apis/navigation_timing/PerformanceTimingapis/navigation_timing/PerformanceTiming

Syntax

Note: This property is read-only.

var result = PerformanceTiming.domContentLoadedEventStart;

Return Value

Returns an object of type unsigned longunsigned long

Examples

var perftime = performance.timing;
document.write("domContentLoadedEventStart: " + perftime.domContentLoadedEventStart + "<br />");

Notes

The value reported represents the number of milliseconds between the recorded time and midnight January 1, 1970 (UTC).

Related specifications

W3C Navigation Timing Specification 2
W3C Working Draft

Attributions