Revision 35ef11d0f60dae103603ee92fd71a98bc3e12e7c authored by Luke Bjerring on 23 March 2018, 19:14:21 UTC, committed by Luke Bjerring on 23 March 2018, 19:58:00 UTC
1 parent 4578f69
accelerometer.idl
[Constructor(optional AccelerometerSensorOptions options), SecureContext,
Exposed=Window]
interface Accelerometer : Sensor {
readonly attribute double? x;
readonly attribute double? y;
readonly attribute double? z;
};
enum AccelerometerLocalCoordinateSystem { "device", "screen" };
dictionary AccelerometerSensorOptions : SensorOptions {
AccelerometerLocalCoordinateSystem referenceFrame = "device";
};
[Constructor(optional AccelerometerSensorOptions options), SecureContext,
Exposed=Window]
interface LinearAccelerationSensor : Accelerometer {
};
[Constructor(optional AccelerometerSensorOptions options), SecureContext,
Exposed=Window]
interface GravitySensor : Accelerometer {
};
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...