mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
14 lines
468 B
Text
14 lines
468 B
Text
[Constructor(optional SensorOptions options), SecureContext, Exposed=Window]
|
|
interface Accelerometer : Sensor {
|
|
readonly attribute double? x;
|
|
readonly attribute double? y;
|
|
readonly attribute double? z;
|
|
};
|
|
|
|
[Constructor(optional SensorOptions options), SecureContext, Exposed=Window]
|
|
interface LinearAccelerationSensor : Accelerometer {
|
|
};
|
|
|
|
[Constructor(optional SensorOptions options), SecureContext, Exposed=Window]
|
|
interface GravitySensor : Accelerometer {
|
|
};
|