proximity.idl (433B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: Proximity Sensor (https://w3c.github.io/proximity/) 5 6 [SecureContext, Exposed=Window] 7 interface ProximitySensor : Sensor { 8 constructor(optional SensorOptions sensorOptions = {}); 9 readonly attribute double? distance; 10 readonly attribute double? max; 11 readonly attribute boolean? near; 12 };