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.
The angle read-only property of the web.ScreenOrientation
interface
the document's current orientation angle.
angle = ScreenOrientation.angle
See also: https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/angle
Property. The angle read-only property of the `web.ScreenOrientation` interface 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.
The lock() property of the web.ScreenOrientation
interface
the orientation of the containing document to its default orientation.
ScreenOrientation.lock(orientation)
See also: https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/lock
Method. The lock() property of the `web.ScreenOrientation` interface the orientation of the containing document to its default orientation. `ScreenOrientation.lock(orientation)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/lock`
(onchange this)
Property.
The onchange property of the web.ScreenOrientation
is an event
fired whenever is the web.EventHandler
called when the screen
orientation.
ScreenOrientation.addEventListener('change', function(e) { ... }) ScreenOrientation.onchange = function(e) { ... }
See also: https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/onchange
Property. The onchange property of the `web.ScreenOrientation` is an event fired whenever is the `web.EventHandler` called when the screen orientation. `ScreenOrientation.addEventListener('change', function(e) { ... }) ScreenOrientation.onchange = function(e) { ... }` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/onchange`
(set-angle! this val)
Property.
The angle read-only property of the web.ScreenOrientation
interface
the document's current orientation angle.
angle = ScreenOrientation.angle
See also: https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/angle
Property. The angle read-only property of the `web.ScreenOrientation` interface the document's current orientation angle. `angle = ScreenOrientation.angle` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/angle`
(set-onchange! this val)
Property.
The onchange property of the web.ScreenOrientation
is an event
fired whenever is the web.EventHandler
called when the screen
orientation.
ScreenOrientation.addEventListener('change', function(e) { ... }) ScreenOrientation.onchange = function(e) { ... }
See also: https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/onchange
Property. The onchange property of the `web.ScreenOrientation` is an event fired whenever is the `web.EventHandler` called when the screen orientation. `ScreenOrientation.addEventListener('change', function(e) { ... }) ScreenOrientation.onchange = function(e) { ... }` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/onchange`
(set-type! this val)
Property.
The type read-only property of the web.ScreenOrientation
interface
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. The type read-only property of the `web.ScreenOrientation` interface 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`
(type this)
Property.
The type read-only property of the web.ScreenOrientation
interface
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. The type read-only property of the `web.ScreenOrientation` interface 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.
The unlock() property of the web.ScreenOrientation
interface
the orientation of the containing document from its default orientation.
ScreenOrientation.unlock()
See also: https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/unlock
Method. The unlock() property of the `web.ScreenOrientation` interface the orientation of the containing document from its default orientation. `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