|
1 | 1 | name: Device orientation events |
2 | | -# TODO: Add a note that coordinates can differ noticeably between platforms and devices |
3 | | -description: The `DeviceMotion` and `DeviceOrientation` events report the movement and orientation of the browser's device in physical space. |
| 2 | +description: The `DeviceMotion` and `DeviceOrientation` events report the movement and orientation of the browser's device in physical space. Note that coordinates can differ noticeably between platforms and devices. |
4 | 3 | spec: https://w3c.github.io/deviceorientation/ |
5 | 4 | caniuse: deviceorientation |
6 | 5 | group: sensors |
| 6 | +status: |
| 7 | + compute_from: api.DeviceMotionEvent |
| 8 | +compat_features: |
| 9 | + - api.DeviceMotionEvent |
| 10 | + - api.DeviceMotionEvent.DeviceMotionEvent |
| 11 | + - api.DeviceMotionEvent.acceleration |
| 12 | + - api.DeviceMotionEvent.accelerationIncludingGravity |
| 13 | + - api.DeviceMotionEvent.interval |
| 14 | + - api.DeviceMotionEvent.requestPermission_static |
| 15 | + - api.DeviceMotionEvent.rotationRate |
| 16 | + - api.DeviceMotionEventAcceleration |
| 17 | + - api.DeviceMotionEventAcceleration.x |
| 18 | + - api.DeviceMotionEventAcceleration.y |
| 19 | + - api.DeviceMotionEventAcceleration.z |
| 20 | + - api.DeviceMotionEventRotationRate |
| 21 | + - api.DeviceMotionEventRotationRate.alpha |
| 22 | + - api.DeviceMotionEventRotationRate.beta |
| 23 | + - api.DeviceMotionEventRotationRate.gamma |
| 24 | + - api.DeviceOrientationEvent |
| 25 | + - api.DeviceOrientationEvent.DeviceOrientationEvent |
| 26 | + - api.DeviceOrientationEvent.absolute |
| 27 | + - api.DeviceOrientationEvent.alpha |
| 28 | + - api.DeviceOrientationEvent.beta |
| 29 | + - api.DeviceOrientationEvent.gamma |
| 30 | + - api.DeviceOrientationEvent.requestPermission_static |
| 31 | + - api.Window.devicemotion_event |
| 32 | + - api.Window.deviceorientation_event |
| 33 | + - api.Window.deviceorientationabsolute_event |
0 commit comments