From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../window/ondeviceorientationabsolute/index.html | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 files/zh-cn/web/api/window/ondeviceorientationabsolute/index.html (limited to 'files/zh-cn/web/api/window/ondeviceorientationabsolute/index.html') 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 +--- +

{{ ApiRef() }}{{Non-standard_header}}

+ +

摘要

+ +

An event handler for the {{ event("deviceorientationabsolute") }} event containing information about an absolute device orientation change.

+ +

Syntax

+ +
window.ondeviceorientationabsolute = function(event) { ... };
+window.addEventListener('deviceorientationabsolute', function(event) { ... });
+
+ +

Specifications

+ +

This event handler is not currently part of any specification.

+ +

Browser compatibility

+ + + +

{{Compat("api.Window.ondeviceorientationabsolute")}}

+ +

See also

+ + -- cgit v1.2.3-54-g00ecf