blob: 3cbfbd5ad139031a62d730e9a460b797b7537789 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// 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;
};
|