ScreenOrientation: unlock() method

The unlock() property of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation.

Syntax

unlock()

Parameters

None.

Return value

None (undefined).

Specifications

Specification
Screen Orientation
# dom-screenorientation-unlock

Browser compatibility

BCD tables only load in the browser