blob: 9ca71e010814fa2835d9b128b4f190005fc31ea4 [file] [edit]
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// 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;
};