Liking cljdoc? Tell your friends :D
ClojureScript only.

web.SensorErrorEvent

The SensorErrorEvent interface of the Sensor APIs provides information errors thrown by a web.Sensor or related interface.

The SensorErrorEvent interface of the Sensor APIs provides information
errors thrown by a `web.Sensor` or related interface.
raw docstring

constructorcljs

Constructor.

The SensorErrorEvent constructor creates a new web.SensorErrorEvent object which provides information about errors thrown by any of the interfaces based on web.Sensor.

type Will always be 'SensorErrorEvent'. options Optional Currently only one option is supported:

error: An instance of dom.DOMException.

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

Constructor.

The SensorErrorEvent constructor creates a new `web.SensorErrorEvent` object which provides information about errors thrown by any of the interfaces based on `web.Sensor`.

type
Will always be 'SensorErrorEvent'.
options Optional
Currently only one option is supported:

error: An instance of `dom.DOMException`.

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

errorcljs

(error this)

Property.

The error read-only property of the web.SensorErrorEvent interface the dom.DOMException object passed in the event's contructor.

var domException = sensorErrorEvent.error;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SensorErrorEvent/error

Property.

The error read-only property of the `web.SensorErrorEvent` interface
the `dom.DOMException` object passed in the event's contructor.

`var domException = sensorErrorEvent.error;`

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

set-error!cljs

(set-error! this val)

Property.

The error read-only property of the web.SensorErrorEvent interface the dom.DOMException object passed in the event's contructor.

var domException = sensorErrorEvent.error;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SensorErrorEvent/error

Property.

The error read-only property of the `web.SensorErrorEvent` interface
the `dom.DOMException` object passed in the event's contructor.

`var domException = sensorErrorEvent.error;`

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

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

× close