diff options
author | MDN <actions@users.noreply.github.com> | 2022-03-18 00:13:02 +0000 |
---|---|---|
committer | MDN <actions@users.noreply.github.com> | 2022-03-18 00:13:02 +0000 |
commit | c32682b053bad2602a8c910cc7e4106acaefade1 (patch) | |
tree | edc3e9188c4eb62c657ddecdec79ad4bf42344fd /files/zh-cn/web/api/window/deviceorientationabsolute_event | |
parent | 8bc505c3f1b16913123132f74d8cf20432bddf79 (diff) | |
download | translated-content-c32682b053bad2602a8c910cc7e4106acaefade1.tar.gz translated-content-c32682b053bad2602a8c910cc7e4106acaefade1.tar.bz2 translated-content-c32682b053bad2602a8c910cc7e4106acaefade1.zip |
[CRON] sync translated content
Diffstat (limited to 'files/zh-cn/web/api/window/deviceorientationabsolute_event')
-rw-r--r-- | files/zh-cn/web/api/window/deviceorientationabsolute_event/index.html | 36 |
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> |