Window:navigation 属性
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Window
接口的 navigation
只读属性返回当前 window
关联的 Navigation
对象。
这是 Navigation API 的入口点。
值
Navigation
对象实例。
示例
js
let currentNavEntries = window.navigation.entries();
规范
Specification |
---|
HTML # dom-navigation |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
navigation |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.
- See implementation notes.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
参见
- 新型客户端路由:Navigation API
- Navigation API 解释
- Domenic Denicola 的 Navigation API 在线演示