mirror of
https://github.com/servo/servo.git
synced 2025-10-16 00:10:23 +01:00
24 lines
717 B
Text
24 lines
717 B
Text
// 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/)
|
|
|
|
[SecureContext, Exposed=Window]
|
|
interface Gyroscope : Sensor {
|
|
constructor(optional GyroscopeSensorOptions sensorOptions = {});
|
|
readonly attribute double? x;
|
|
readonly attribute double? y;
|
|
readonly attribute double? z;
|
|
};
|
|
|
|
enum GyroscopeLocalCoordinateSystem { "device", "screen" };
|
|
|
|
dictionary GyroscopeSensorOptions : SensorOptions {
|
|
GyroscopeLocalCoordinateSystem referenceFrame = "device";
|
|
};
|
|
|
|
dictionary GyroscopeReadingValues {
|
|
required double? x;
|
|
required double? y;
|
|
required double? z;
|
|
};
|