The DeviceProximityEvent interface provides information about distance of a nearby physical object using the proximity sensor a device.
The DeviceProximityEvent interface provides information about distance of a nearby physical object using the proximity sensor a device.
(max this)
Property.
[Read Only] [Experimental]
The max property provides the maximum sensing distance the sensor able to report, in centimeters.
var value = instanceOfDeviceProximityEvent.max;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/max
Property. [Read Only] [Experimental] The max property provides the maximum sensing distance the sensor able to report, in centimeters. `var value = instanceOfDeviceProximityEvent.max;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/max`
(min this)
Property.
[Read Only] [Experimental]
The min property provides the minimum distance the sensor can in centimeters.
var value = instanceOfDeviceProximityEvent.min;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/min
Property. [Read Only] [Experimental] The min property provides the minimum distance the sensor can in centimeters. `var value = instanceOfDeviceProximityEvent.min;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/min`
(value this)
Property.
[Read Only] [Experimental]
The value property of web.divice.DeviceProximityEvent
objects
the current distance between the device and the detected object,
centimeters.
var distance = instanceOfDeviceProximityEvent.value;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/value
Property. [Read Only] [Experimental] The value property of `web.divice.DeviceProximityEvent` objects the current distance between the device and the detected object, centimeters. `var distance = instanceOfDeviceProximityEvent.value;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/value`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close