Liking cljdoc? Tell your friends :D

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.

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

type \tA web.dom.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.dom.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.

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.

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.

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.

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

set-display!cljs

(set-display! this val)

Property.

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.

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

set-reason!cljs

(set-reason! this val)

Property.

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.

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