msUnlockOrientation method
Disables the current orientation lock applied to the screen.
![]() |
Syntax
var retval = Screen.msUnlockOrientation();Parameters
This method has no parameters.
Return value
Type: HRESULT
This method can return one of these values.
- S_OK
Standards information
Remarks
When the screen orientation is unlocked, the page will return (if applicable) to its appropriate orientation and fire a corresponding onmsorientationchange event.
See also
Show:
