aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/window/ondeviceorientationabsolute
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/api/window/ondeviceorientationabsolute
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/web/api/window/ondeviceorientationabsolute')
-rw-r--r--files/zh-cn/web/api/window/ondeviceorientationabsolute/index.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/window/ondeviceorientationabsolute/index.html b/files/zh-cn/web/api/window/ondeviceorientationabsolute/index.html
new file mode 100644
index 0000000000..b595d9852c
--- /dev/null
+++ b/files/zh-cn/web/api/window/ondeviceorientationabsolute/index.html
@@ -0,0 +1,35 @@
+---
+title: Window.ondeviceorientationabsolute
+slug: Web/API/Window/ondeviceorientationabsolute
+translation_of: 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>