Skip to content

Commit 5ce00e1

Browse files
[zh-cn]: create the translation of window navigation property (#20381)
Co-authored-by: Jason Ren <[email protected]>
1 parent 21adc16 commit 5ce00e1

File tree

1 file changed

+36
-0
lines changed
  • files/zh-cn/web/api/window/navigation

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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/)

0 commit comments

Comments
 (0)