Liking cljdoc? Tell your friends :D
ClojureScript only.

web.DeviceLightEvent

The DeviceLightEvent provides web developers with information photo sensors or similiar detectors about ambient light levels the device. For example this may be useful to adjust the screen's based on the current ambient light level in order to save energy provide better readability.

The DeviceLightEvent provides web developers with information
photo sensors or similiar detectors about ambient light levels
the device. For example this may be useful to adjust the screen's
based on the current ambient light level in order to save energy
provide better readability.
raw docstring

set-value!cljs

(set-value! this val)

Property.

The value property provides the current level of the ambient

var light = instanceOfDeviceLightEvent.value;

See also: https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent/value

Property.

The value property provides the current level of the ambient

`var light = instanceOfDeviceLightEvent.value;`

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

valuecljs

(value this)

Property.

The value property provides the current level of the ambient

var light = instanceOfDeviceLightEvent.value;

See also: https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent/value

Property.

The value property provides the current level of the ambient

`var light = instanceOfDeviceLightEvent.value;`

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

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

× close