LockOrientation Op

LockOrientation

locks orientation to landscape or portrait mode


Note: This method only works for installed Web apps or for Web pages in full-screen mode.

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


Full Name
  • Ops.Devices.Mobile.LockOrientation
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches








No op example found on this server

INPUT PORTS


Portrait (Number:boolean )
Landscape (Number:boolean )

OUTPUT PORTS


Supported (Number)
Locked (Number)

Patches using LockOrientation

  • Examples
  • Public
  • My Patches