Liking cljdoc? Tell your friends :D

web.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.

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.

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.

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.

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

set-max!cljs

(set-max! this val)

Property.

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.

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

set-min!cljs

(set-min! this val)

Property.

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.

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

set-value!cljs

(set-value! this val)

Property.

The value property of web.DeviceProximityEvent objects provides 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.

The value property of `web.DeviceProximityEvent` objects provides
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

valuecljs

(value this)

Property.

The value property of web.DeviceProximityEvent objects provides 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.

The value property of `web.DeviceProximityEvent` objects provides
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