mirror of
https://github.com/servo/servo.git
synced 2025-07-01 12:33:40 +01:00
17 lines
558 B
Text
17 lines
558 B
Text
// 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";
|
|
};
|