blob: 3cbfbd5ad139031a62d730e9a460b797b7537789 [file] [log] [blame]
// 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/)
[SecureContext, Exposed=Window]
interface ProximitySensor : Sensor {
constructor(optional SensorOptions sensorOptions = {});
readonly attribute double? distance;
readonly attribute double? max;
readonly attribute boolean? near;
};
dictionary ProximityReadingValues {
required double? distance;
required double? max;
required boolean? near;
};