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


Edit Documentation

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


 

INPUT PORTS


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

OUTPUT PORTS


Supported (Number)
Locked (Number)

Patches using LockOrientation

  • Examples
  • Public
  • My Patches