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.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. 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.
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. 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.
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. 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-angle! this val)
Property.
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. 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`
(set-onchange! this val)
Property.
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. 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-type! this val)
Property.
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. 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`
(set-unlock! this val)
Property.
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
Property. 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`
(type this)
Property.
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. 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)
Property.
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
Property. 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