Liking cljdoc? Tell your friends :D
ClojureScript only.

web.ambient.AmbientLightSensor

The AmbientLightSensor interface of the the Sensor APIs returns current light level or illuminance of the ambient light around hosting device.

The AmbientLightSensor interface of the the Sensor APIs returns
current light level or illuminance of the ambient light around
hosting device.
raw docstring

illuminancecljs

(illuminance this)

Property.

The illuminance property of the web.ambient.AmbientLightSensor returns the current light level in lux of the ambient light level the hosting device.

var level = AmbientLightSensor.illuminance

See also: https://developer.mozilla.org/en-US/docs/Web/API/AmbientLightSensor/illuminance

Property.

The illuminance property of the `web.ambient.AmbientLightSensor`
returns the current light level in lux of the ambient light level
the hosting device.

`var level = AmbientLightSensor.illuminance`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/AmbientLightSensor/illuminance`
sourceraw docstring

set-illuminance!cljs

(set-illuminance! this val)

Property.

The illuminance property of the web.ambient.AmbientLightSensor returns the current light level in lux of the ambient light level the hosting device.

var level = AmbientLightSensor.illuminance

See also: https://developer.mozilla.org/en-US/docs/Web/API/AmbientLightSensor/illuminance

Property.

The illuminance property of the `web.ambient.AmbientLightSensor`
returns the current light level in lux of the ambient light level
the hosting device.

`var level = AmbientLightSensor.illuminance`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/AmbientLightSensor/illuminance`
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close