device.unlockOrientation

unlockOrientation() → {boolean}

unlocks the device screen into the specified orientation.
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
Parameters:
Type Description
Returns:
Type Description
boolean

true if the orientation was unsuccessfully unlocked

Powered by webdoc!