ScreenOrientation Op
get orientation of the physical screen
Summary (oneliner)
<p>This op will not work in view mode unless you open your patch with the new window option.</p> <p>Orientation of the device/screen. e.g. Screen is in 0 Degree rotated Landscape mode, or 90 Degree rotated to Portrait mode.</p> <p>experimental technology: </p> <p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Screen/orientation">https://developer.mozilla.org/en-US/docs/Web/API/Screen/orientation</a></p>
Full Name
- Ops.Devices.Mobile.ScreenOrientation
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch ScreenOrientation Example
OUTPUT PORTS
Angle (Number)
Description (String)