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

constructorcljs

(constructor & args)

Constructor.

The web.vr.VRDisplayEvent constructor creates a VRDisplayEvent object instance.

type \tA web.DOMString describing the type of event object you want to create. \teventInitDict \tA object contaning initialization options to use when creating the constructor. These are:

\t\tdisplay \t\tA property containing the web.media.VRDisplay the event is to be associated with. \t\treason \t\tA property containing a string representing the human-readable reason why the event is to be fired (see VRDisplayEvent.reason).

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

Constructor.

The `web.vr.VRDisplayEvent` constructor creates a VRDisplayEvent object instance.

type
\tA `web.DOMString` describing the type of event object you want to create.
\teventInitDict
\tA object contaning initialization options to use when creating the constructor. These are:

\t\tdisplay
\t\tA property containing the `web.media.VRDisplay` the event is to be associated with.
\t\treason
\t\tA property containing a string representing the human-readable reason why the event is to be fired (see `VRDisplayEvent.reason`).

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayEvent/VRDisplayEvent`
sourceraw 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