PerformanceNavigationTiming Class
The timing of the navigation that created the document of a window (https://w3c.github.io/navigation-timing/#sec-PerformanceNavigationTiming): the entry of the navigation type of the performance timeline of the window, available as soon as the document is created. The times are in milliseconds relative to the time origin of the window (the start of the navigation), and 0 until the step they measure happens.
public sealed class PerformanceNavigationTiming : PerformanceResourceTiming- Inheritance
PerformanceResourceTimingPerformanceNavigationTiming
Properties
| Name | Description |
|---|---|
| ActivationStart | Gets the time the prerendered document was activated, or 0 for a document that was not prerendered (https://wicg.github.io/nav-speculation/prerendering.html#dom-performancenavigationtiming-activationstart). |
| CriticalCHRestart | Gets the time the navigation was restarted to send the critical client hints (the Critical-CH header of a response), or 0. |
| DomComplete | Gets the time the readiness of the document became complete. |
| DomContentLoadedEventEnd | Gets the time the DOMContentLoaded event completed. |
| DomContentLoadedEventStart | Gets the time the DOMContentLoaded event started. |
| DomInteractive | Gets the time the readiness of the document became interactive. |
| LoadEventEnd | Gets the time the load event completed. |
| LoadEventStart | Gets the time the load event started. |
| RedirectCount | Gets the number of redirects of the navigation, or 0 when one of them is cross-origin. |
| Type | Gets the type of the navigation. |
| UnloadEventEnd | Gets the time the unload event of the previous document completed, or 0. |
| UnloadEventStart | Gets the time the unload event of the previous document started, or 0 when there is no previous document or when it has another origin. |
ActivationStart
NavigationTiming.csGets the time the prerendered document was activated, or 0 for a document that was not prerendered (https://wicg.github.io/nav-speculation/prerendering.html#dom-performancenavigationtiming-activationstart).
public double ActivationStart { get; }CriticalCHRestart
NavigationTiming.csGets the time the navigation was restarted to send the critical client hints (the Critical-CH header of a response), or 0.
public double CriticalCHRestart { get; }DomComplete
NavigationTiming.csGets the time the readiness of the document became complete.
public double DomComplete { get; }DomContentLoadedEventEnd
NavigationTiming.csGets the time the DOMContentLoaded event completed.
public double DomContentLoadedEventEnd { get; }DomContentLoadedEventStart
NavigationTiming.csGets the time the DOMContentLoaded event started.
public double DomContentLoadedEventStart { get; }DomInteractive
NavigationTiming.csGets the time the readiness of the document became interactive.
public double DomInteractive { get; }LoadEventEnd
NavigationTiming.csGets the time the load event completed.
public double LoadEventEnd { get; }LoadEventStart
NavigationTiming.csGets the time the load event started.
public double LoadEventStart { get; }RedirectCount
NavigationTiming.csGets the number of redirects of the navigation, or 0 when one of them is cross-origin.
public ushort RedirectCount { get; }Gets the type of the navigation.
public NavigationTimingType Type { get; }UnloadEventEnd
NavigationTiming.csGets the time the unload event of the previous document completed, or 0.
public double UnloadEventEnd { get; }UnloadEventStart
NavigationTiming.csGets the time the unload event of the previous document started, or 0 when there is no previous document or when it has another origin.
public double UnloadEventStart { get; }