Revision 6ac7b645eb140904fbcd932a177c6eb9a9303990 authored by L. David Baron on 26 June 2018, 15:57:27 UTC, committed by GitHub on 26 June 2018, 15:57:27 UTC
1 parent 8de3fcb
Raw File
gyroscope.idl
// GENERATED CONTENT - DO NOT EDIT
// Content of this file was automatically extracted from the
// "Gyroscope" spec.
// See: https://w3c.github.io/gyroscope/

[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