Window: thuộc tính navigation
Baseline
2026
Newly available
Since January 2026, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
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.
Giá trị
A Navigation object instance.
Ví dụ
js
let currentNavEntries = window.navigation.entries();
Đặc tả kỹ thuật
| Specification |
|---|
| HTML> # dom-navigation> |