Revision 920625c0189a444b6c4f0ce44ca3d02d5921ee39 authored by Ms2ger on 06 April 2018, 07:56:32 UTC, committed by Ms2ger on 06 April 2018, 08:10:11 UTC
1 parent d6a82fd
Raw File
gyroscope.idl
[Constructor(optional GyroscopeSensorOptions sensorOptions), SecureContext, Exposed=Window]
interface Gyroscope : Sensor {
  readonly attribute double? x;
  readonly attribute double? y;
  readonly attribute double? z;
};

enum GyroscopeLocalCoordinateSystem { "device", "screen" };

dictionary GyroscopeSensorOptions : SensorOptions {
  GyroscopeLocalCoordinateSystem referenceFrame = "device";
};
back to top