Liking cljdoc? Tell your friends :D
ClojureScript only.

web.vr.VRDisplayEvent

The VRDisplayEvent interface of the WebVR API represents represents event object of WebVR-related events (see the list of WebVR window

The VRDisplayEvent interface of the WebVR API represents represents
event object of WebVR-related events (see the list of WebVR window
raw docstring

displaycljs

(display this)

Property.

[Read Only] [Experimental]

The display read-only property of the web.vr.VRDisplayEvent returns the web.media.VRDisplay associated with this event.

var myDisplay = vrDisplayEventInstance.display;

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

Property.

[Read Only]
[Experimental]

The display read-only property of the `web.vr.VRDisplayEvent`
returns the `web.media.VRDisplay` associated with this event.

`var myDisplay = vrDisplayEventInstance.display;`

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

reasoncljs

(reason this)

Property.

[Read Only] [Experimental]

The reason read-only property of the web.vr.VRDisplayEvent returns a human-readable reason why the event was fired.

var myReason = vrDisplayEventInstance.reason;

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

Property.

[Read Only]
[Experimental]

The reason read-only property of the `web.vr.VRDisplayEvent`
returns a human-readable reason why the event was fired.

`var myReason = vrDisplayEventInstance.reason;`

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

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

× close