mirror of
https://github.com/servo/servo.git
synced 2025-07-11 17:33:47 +01:00
17 lines
563 B
Text
17 lines
563 B
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content was automatically extracted by Reffy into reffy-reports
|
|
// (https://github.com/tidoust/reffy-reports)
|
|
// Source: Proximity Sensor (https://w3c.github.io/proximity/)
|
|
|
|
[Constructor(optional SensorOptions sensorOptions), SecureContext, Exposed=Window]
|
|
interface ProximitySensor : Sensor {
|
|
readonly attribute double? distance;
|
|
readonly attribute double? max;
|
|
readonly attribute boolean? near;
|
|
};
|
|
|
|
dictionary ProximityReadingValues {
|
|
required double? distance;
|
|
required double? max;
|
|
required boolean? near;
|
|
};
|