Source code

Revision control

Copy as Markdown

Other Tools

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into 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;
};