File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
files/zh-cn/web/api/window/navigation Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ title : Window:navigation 属性
3+ slug : Web/API/Window/navigation
4+ l10n :
5+ sourceCommit : 38d151f66619ac3c8f527b9e4dd402b9a3cf32dd
6+ ---
7+
8+ {{APIRef("Navigation API")}}{{SeeCompatTable}}
9+
10+ {{domxref("Window")}} 接口的 ** ` navigation ` ** 只读属性返回当前 ` window ` 关联的 {{domxref("Navigation")}} 对象。
11+
12+ 这是 {{domxref("Navigation API", "", "", "1")}} 的入口点。
13+
14+ ## 值
15+
16+ {{domxref("Navigation")}} 对象实例。
17+
18+ ## 示例
19+
20+ ``` js
21+ let currentNavEntries = window .navigation .entries ();
22+ ```
23+
24+ ## 规范
25+
26+ {{Specifications}}
27+
28+ ## 浏览器兼容性
29+
30+ {{Compat}}
31+
32+ ## 参见
33+
34+ - [ 新型客户端路由:Navigation API] ( https://developer.chrome.com/docs/web-platform/navigation-api?hl=zh-cn )
35+ - [ Navigation API 解释] ( https://github.com/WICG/navigation-api/blob/main/README.md )
36+ - Domenic Denicola 的 [ Navigation API 在线演示] ( https://gigantic-honored-octagon.glitch.me/ )
You can’t perform that action at this time.
0 commit comments