DeviceOrientationEvent:beta 属性
>DeviceOrientationEvent 接口的 beta 只读属性返回设备围绕 X 轴的旋转角度;即设备向前或向后倾斜的度数,范围在 -180 到 180 之间。有关详细信息,请参阅 Orientation 和 motion 数据解释。
此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。
DeviceOrientationEvent 接口的 beta 只读属性返回设备围绕 X 轴的旋转角度;即设备向前或向后倾斜的度数,范围在 -180 到 180 之间。有关详细信息,请参阅 Orientation 和 motion 数据解释。