https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 680b332f79c02e48834c707c2dbc537bdaa2a78a authored by moz-wptsync-bot on 01 November 2018, 16:42:05 UTC
Fix some differences with upstream in wpt tooling
Tip revision: 680b332
gyroscope.idl
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into reffy-reports
// (https://github.com/tidoust/reffy-reports)
// Source: Gyroscope (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