LockOrientation Op
locks orientation to landscape or portrait mode
Summary (oneliner)
<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
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
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)