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

ScreenOrientation Op

ScreenOrientation

get orientation of the physical screen


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


Edit Documentation

Full Name
  • Ops.Devices.Mobile.ScreenOrientation
Visibility
  • Core Op - Official cables op
AuthorTest Patches


 

OUTPUT PORTS


Angle (Number)
Description (String)

Usages of ScreenOrientation

  • Examples
  • Public
  • My Patches
  • Ops