From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../api/deviceorientationevent/alpha/index.html | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 files/zh-cn/web/api/deviceorientationevent/alpha/index.html (limited to 'files/zh-cn/web/api/deviceorientationevent/alpha') diff --git a/files/zh-cn/web/api/deviceorientationevent/alpha/index.html b/files/zh-cn/web/api/deviceorientationevent/alpha/index.html new file mode 100644 index 0000000000..e4a6a0a4d4 --- /dev/null +++ b/files/zh-cn/web/api/deviceorientationevent/alpha/index.html @@ -0,0 +1,53 @@ +--- +title: DeviceOrientationEvent.alpha +slug: Web/API/DeviceOrientationEvent/alpha +tags: + - API + - 陀螺仪 +translation_of: Web/API/DeviceOrientationEvent/alpha +--- +

{{ ApiRef("Device Orientation Events") }}

+ +

返回设备旋转时Z轴的值;即:设备围绕屏幕中心扭转的角度。  详细信息请查看方向和运动数据

+ +

Syntax

+ +
var alpha = instanceOfDeviceOrientationEvent.alpha;
+
+ +

Specifications

+ + + + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('Device Orientation')}}{{Spec2('Device Orientation')}}Initial specification.
+ +

Browser compatibility

+ +

 

+ +

{{Compat("api.DeviceOrientationEvent.alpha")}}

+ +

 

+ +

See also

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