package js.html
extends PerformanceResourceTiming › PerformanceEntry
Available on js
The PerformanceNavigationTiming interface provides methods and properties to store and retrieve metrics regarding the browser's document navigation events. For example, this interface can be used to determine how much time it takes to load or unload a document.
Documentation PerformanceNavigationTiming by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
read onlydomComplete:FloatA DOMHighResTimeStamp representing a time value equal to the time immediately before the browser sets the current document readiness of the current document to complete.
read onlydomContentLoadedEventEnd:FloatA DOMHighResTimeStamp representing the time value equal to the time immediately after the current document's DOMContentLoaded event completes.
read onlydomContentLoadedEventStart:FloatA DOMHighResTimeStamp representing the time value equal to the time immediately before the user agent fires the DOMContentLoaded event at the current document.
read onlydomInteractive:FloatA DOMHighResTimeStamp representing a DOMHighResTimeStamp representing the time value equal to the time immediately before the user agent sets the current document readiness of the current document to interactive.
read onlyloadEventEnd:FloatA DOMHighResTimeStamp representing the time when the load event of the current document is completed.
read onlyloadEventStart:FloatA DOMHighResTimeStamp representing the time value equal to the time immediately before the load event of the current document is fired.
read onlyredirectCount:IntA number representing the number of redirects since the last non-redirect navigation under the current browsing context.
read onlytype:NavigationTypeA DOMString representing the navigation type. Must be: "navigate", "reload", "back_forward" or "prerender".
read onlyunloadEventEnd:FloatA DOMHighResTimeStamp representing the time value equal to the time immediately after the user agent finishes the unload event of the previous document.
read onlyunloadEventStart:FloatA DOMHighResTimeStamp representing the time value equal to the time immediately before the user agent starts the unload event of the previous document.
toJSON():DynamicReturns a DOMString that is the JSON representation of the PerformanceNavigationTiming object.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/PerformanceNavigationTiming.html