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.

domInteractive

Summary

Returns the time immediately before the user agent sets the current document readiness to "interactive".

Property of apis/navigation_timing/PerformanceTimingapis/navigation_timing/PerformanceTiming

Syntax

Note: This property is read-only.

var result = PerformanceTiming.domInteractive;

Return Value

Returns an object of type unsigned longunsigned long

Examples

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

Notes

The value of the domInteractive property is controlled by the document object associated with the window object. The value of the domInteractive property is updated when the readyState property is set to interactive. If the document cannot be loaded, the value of the domInteractive property is available after the onload event has finished executing. 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