Liking cljdoc? Tell your friends :D
ClojureScript only.

web.divice.DeviceProximityEvent

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.
raw docstring

maxcljs

(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`
sourceraw docstring

mincljs

(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`
sourceraw docstring

valuecljs

(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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close