LockOrientation Op

LockOrientation

locks orientation to landscape or portrait mode


<p>Note: This method only works for installed Web apps or for Web pages in full-screen mode.</p> <p>see: <a href="https://developer.mozilla.org/en-US/docs/Web/API/Screen/lockOrientation">https://developer.mozilla.org/en-US/docs/Web/API/Screen/lockOrientation</a></p>


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:

<i>boolean</i>

)

Landscape (Number:

<i>boolean</i>

)

OUTPUT PORTS


Supported (Number)
Locked (Number)

Patches using LockOrientation

  • Examples
  • Public
  • My Patches