aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/window/deviceorientationabsolute_event/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/window/deviceorientationabsolute_event/index.html')
-rw-r--r--files/zh-cn/web/api/window/deviceorientationabsolute_event/index.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/window/deviceorientationabsolute_event/index.html b/files/zh-cn/web/api/window/deviceorientationabsolute_event/index.html
new file mode 100644
index 0000000000..6f1e4f5fc7
--- /dev/null
+++ b/files/zh-cn/web/api/window/deviceorientationabsolute_event/index.html
@@ -0,0 +1,36 @@
+---
+title: 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>
+
+<h2 id="Summary" name="Summary">摘要</h2>
+
+<p>An event handler for the {{ event("deviceorientationabsolute") }} event containing information about an absolute device orientation change.</p>
+
+<h2 id="Syntax" name="Syntax">Syntax</h2>
+
+<pre class="syntaxbox">window.ondeviceorientationabsolute = function(event) { ... };
+window.addEventListener('deviceorientationabsolute', function(event) { ... });
+</pre>
+
+<h2 id="Specifications">Specifications</h2>
+
+<p>This event handler is not currently part of any specification.</p>
+
+<h2 id="Browser_compatibility">Browser compatibility</h2>
+
+
+
+<p>{{Compat("api.Window.ondeviceorientationabsolute")}}</p>
+
+<h2 id="See_also">See also</h2>
+
+<ul>
+ <li>{{ event("deviceorientation") }}</li>
+ <li>{{ domxref("DeviceOrientationEvent") }}</li>
+ <li>{{domxref("Window.ondeviceorientation","ondeviceorientation")}}</li>
+ <li><a href="/en/Detecting_device_orientation" title="Detecting device orientation">Detecting device orientation</a></li>
+</ul>