mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 13:18:45 +02:00
Automatic update from web-platform-tests Update interfaces/proximity.idl (#15152) Source: https://github.com/tidoust/reffy-reports/blob/2cf7db1/whatwg/idl/proximity.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/485766725 -- wpt-commits: 32e2a60e9cdbbffd4ae065ea4e17b60e3527dc23 wpt-pr: 15152
17 lines
563 B
Text
17 lines
563 B
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content was automatically extracted by Reffy into reffy-reports
|
|
// (https://github.com/tidoust/reffy-reports)
|
|
// 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;
|
|
};
|