Liking cljdoc? Tell your friends :D

web.orientation.ScreenOrientation

The ScreenOrientation interface of the the Screen Orientation provides information about the current orientation of the document.

The ScreenOrientation interface of the the Screen Orientation
provides information about the current orientation of the document.
raw docstring

anglecljs

(angle this)

Property.

[Read Only] [Experimental]

The angle read-only property of the web.orientation.ScreenOrientation returns the document's current orientation angle.

angle = ScreenOrientation.angle

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

Property.

[Read Only]
[Experimental]

The angle read-only property of the `web.orientation.ScreenOrientation`
returns the document's current orientation angle.

`angle = ScreenOrientation.angle`

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

lockcljs

(lock this orientation)

Method.

[Experimental]

The lock() property of the web.orientation.ScreenOrientation locks the orientation of the containing document to its default

ScreenOrientation.lock(orientation)

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

Method.

[Experimental]

The lock() property of the `web.orientation.ScreenOrientation`
locks the orientation of the containing document to its default

`ScreenOrientation.lock(orientation)`

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

onchangecljs

(onchange this)

Property.

[Experimental]

The onchange property of the web.orientation.ScreenOrientation an event handler fired whenever is the EventHandler called the screen changes orientation.

ScreenOrientation.addEventListener('change', function(e) { ... }) ScreenOrientation.onchange = function(e) { ... }

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

Property.

[Experimental]

The onchange property of the `web.orientation.ScreenOrientation`
an event handler fired whenever is the `EventHandler` called
the screen changes orientation.

`ScreenOrientation.addEventListener('change', function(e) { ... })
ScreenOrientation.onchange = function(e) { ... }`

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

set-onchange!cljs

(set-onchange! this val)

Property.

[Experimental]

The onchange property of the web.orientation.ScreenOrientation an event handler fired whenever is the EventHandler called the screen changes orientation.

ScreenOrientation.addEventListener('change', function(e) { ... }) ScreenOrientation.onchange = function(e) { ... }

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

Property.

[Experimental]

The onchange property of the `web.orientation.ScreenOrientation`
an event handler fired whenever is the `EventHandler` called
the screen changes orientation.

`ScreenOrientation.addEventListener('change', function(e) { ... })
ScreenOrientation.onchange = function(e) { ... }`

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

typecljs

(type this)

Property.

[Read Only] [Experimental]

The type read-only property of the web.orientation.ScreenOrientation returns the document's current orientation type, one of "portrait-primary", "landscape-primary", or "landscape-secondary".

type = ScreenOrientation.type

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

Property.

[Read Only]
[Experimental]

The type read-only property of the `web.orientation.ScreenOrientation`
returns the document's current orientation type, one of \"portrait-primary\",
\"landscape-primary\", or \"landscape-secondary\".

`type = ScreenOrientation.type`

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

unlockcljs

(unlock this)

Method.

[Experimental]

The unlock() property of the web.orientation.ScreenOrientation unlocks the orientation of the containing document from its default

ScreenOrientation.unlock()

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

Method.

[Experimental]

The unlock() property of the `web.orientation.ScreenOrientation`
unlocks the orientation of the containing document from its default

`ScreenOrientation.unlock()`

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

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

× close