aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web')
-rw-r--r--files/zh-cn/web/api/window/devicemotion_event/index.html (renamed from files/zh-cn/web/api/window/ondevicemotion/index.html)3
-rw-r--r--files/zh-cn/web/api/window/deviceorientationabsolute_event/index.html (renamed from files/zh-cn/web/api/window/ondeviceorientationabsolute/index.html)3
-rw-r--r--files/zh-cn/web/api/window/ondeviceorientation/index.html47
3 files changed, 4 insertions, 49 deletions
diff --git a/files/zh-cn/web/api/window/ondevicemotion/index.html b/files/zh-cn/web/api/window/devicemotion_event/index.html
index 41cda848df..121c863f85 100644
--- a/files/zh-cn/web/api/window/ondevicemotion/index.html
+++ b/files/zh-cn/web/api/window/devicemotion_event/index.html
@@ -1,6 +1,6 @@
---
title: Window.ondevicemotion
-slug: Web/API/Window/ondevicemotion
+slug: Web/API/Window/devicemotion_event
tags:
- API
- Device Orientation
@@ -9,6 +9,7 @@ tags:
- Motion
- 移动端设备
translation_of: Web/API/Window/ondevicemotion
+original_slug: Web/API/Window/ondevicemotion
---
<p>{{ ApiRef() }}</p>
diff --git a/files/zh-cn/web/api/window/ondeviceorientationabsolute/index.html b/files/zh-cn/web/api/window/deviceorientationabsolute_event/index.html
index b595d9852c..6f1e4f5fc7 100644
--- a/files/zh-cn/web/api/window/ondeviceorientationabsolute/index.html
+++ b/files/zh-cn/web/api/window/deviceorientationabsolute_event/index.html
@@ -1,7 +1,8 @@
---
title: Window.ondeviceorientationabsolute
-slug: Web/API/Window/ondeviceorientationabsolute
+slug: Web/API/Window/deviceorientationabsolute_event
translation_of: Web/API/Window/ondeviceorientationabsolute
+original_slug: Web/API/Window/ondeviceorientationabsolute
---
<p>{{ ApiRef() }}{{Non-standard_header}}</p>
diff --git a/files/zh-cn/web/api/window/ondeviceorientation/index.html b/files/zh-cn/web/api/window/ondeviceorientation/index.html
deleted file mode 100644
index 672cc0aaa3..0000000000
--- a/files/zh-cn/web/api/window/ondeviceorientation/index.html
+++ /dev/null
@@ -1,47 +0,0 @@
----
-title: Window.ondeviceorientation
-slug: Web/API/Window/ondeviceorientation
-translation_of: Web/API/Window/ondeviceorientation
----
-<p>{{ ApiRef() }}</p>
-
-<h2 id="Summary" name="Summary">简介</h2>
-
-<p>{{ event("deviceorientation") }}事件的事件处理程序,该事件包含了设备的相对旋转方向改变信息。</p>
-
-<h2 id="Syntax" name="Syntax">语法</h2>
-
-<pre class="syntaxbox">window.ondeviceorientation = function(event) { ... };
-window.addEventListener('deviceorientation', function(event) { ... });
-</pre>
-
-<h2 id="规范">规范</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">Specification</th>
- <th scope="col">Status</th>
- <th scope="col">Comment</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{SpecName('Device Orientation')}}</td>
- <td>{{Spec2('Device Orientation')}}</td>
- <td>Initial specification.</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="浏览器兼容性">浏览器兼容性</h2>
-
-<p>{{ page("/en-US/docs/Web/API/DeviceOrientationEvent","Browser_compatibility") }}</p>
-
-<h2 id="更多资料">更多资料</h2>
-
-<ul>
- <li>{{ event("deviceorientation") }}</li>
- <li>{{ domxref("DeviceOrientationEvent") }}</li>
- <li><a href="/en/Detecting_device_orientation" title="Detecting device orientation">Detecting device orientation</a></li>
-</ul>