DeviceOrientationEvent.alpha

这篇翻译不完整。请帮忙从英语翻译这篇文章

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

Syntax

var alpha = instanceOfDeviceOrientationEvent.alpha;

Specifications

Specification Status Comment
Device Orientation Events Working Draft Initial specification.

Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

  
Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 7.0 (Yes) 6 [1] ? ? ?
  
Feature Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support 3.0 (Yes) 6 [1] 未实现 未实现 4.2

[1] 在FireFox浏览器的3.6、4、5的版本中,支持使用 mozOrientation ,而不是使用标准的 DeviceOrientationEvent 接口

See also

文档标签和贡献者

标签: 
 此页面的贡献者: TOKdawn, NightingaleM
 最后编辑者: TOKdawn,