DeviceMotionEventRotationRate:gamma 属性
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
DeviceMotionEventRotationRate 接口的只读属性 gamma 表示围绕 Y 轴的旋转速率(以度/秒为单位)。
值
double 类型的值,表示围绕 Y 轴的旋转速率(以度/秒为单位)。更多详细信息,请参见方向与运动数据解释。
规范
| Specification |
|---|
| Device Orientation and Motion> # dom-devicemotioneventrotationrate-gamma> |
浏览器兼容性
Loading…