ScreenOrientation.unlock()

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

ScreenOrientation インターフェイスの unlock() プロパティは、含んでいる文書の向きのデフォルトの向きへの固定を解除します。

構文

js
unlock()

引数

なし

返値

なし (undefined)

仕様書

Specification
Screen Orientation
# dom-screenorientation-unlock

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
unlock

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
Partial support
Partial support
No support
No support
Has more compatibility info.