Window: navigation property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The navigation
read-only property of the Window
interface returns the current window
's associated Navigation
object.
This is the entry point for the Navigation API.
Value
A Navigation
object instance.
Examples
js
let currentNavEntries = window.navigation.entries();
Specifications
Specification |
---|
HTML Standard # dom-navigation |
Browser compatibility
BCD tables only load in the browser