beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Ops.Devices.Mobile.ScreenOrientation

ScreenOrientation
op id:ef8f5f5a-4652-4fad-983b-aca96d9cc13b
get orientation of the physical screen

summary (oneliner)

This op will not work in view mode unless you open your patch with the new window option.

Orientation of the device/screen. e.g. Screen is in 0 Degree rotated Landscape mode, or 90 Degree rotated to Portrait mode.

experimental technology:

https://developer.mozilla.org/en-US/docs/Web/API/Screen/orientation

doc

issues

youtube id

collections

related ops

Inputs

Outputs

Angle (Number)

Description (Number)

Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using ScreenOrientation

Public Patches using ScreenOrientation