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.
(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`
(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`
(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`
(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`
(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`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close