diff options
Diffstat (limited to 'files/ko/web/api/screen/unlockorientation/index.html')
-rw-r--r-- | files/ko/web/api/screen/unlockorientation/index.html | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/files/ko/web/api/screen/unlockorientation/index.html b/files/ko/web/api/screen/unlockorientation/index.html new file mode 100644 index 0000000000..bf4d3eb4d5 --- /dev/null +++ b/files/ko/web/api/screen/unlockorientation/index.html @@ -0,0 +1,62 @@ +--- +title: window.screen.unlockOrientation +slug: Web/API/Screen/unlockOrientation +translation_of: Web/API/Screen/unlockOrientation +--- +<div>{{APIRef("CSSOM View")}}{{Deprecated_header}}</div> + +<p><strong><code>Screen.unlockOrientation()</code></strong> 함수는 이전의 page나 앱을 통해 지정한 화면 고정 값들을 모두 제거 한다.</p> + +<div class="note"> +<p><strong>Note:</strong> 이 함수는 설치된 웹앱 또는 <a href="/en-US/docs/Web/Guide/DOM/Using_full_screen_mode" title="/en-US/docs/Web/Guide/DOM/Using_full_screen_mode">full-screen mode</a> 의 웹 페이지들에서 동작한다..</p> +</div> + +<h2 id="Syntax" name="Syntax">Syntax</h2> + +<pre class="eval">var unlocked = window.screen.unlockOrientation(); +</pre> + +<h3 id="Example" name="Example">Return value</h3> + +<p>성공적으로 unlocked 된 경우 <code>true</code> 를 반환하며, 만약 방향이 unlock 될 수 없다면 <code>false</code> 를 반환한다.</p> + +<h2 id="Example" name="Example">Example</h2> + +<pre class="eval">if (window.screen.unlockOrientation()) { + // orientation was unlocked +} else { + // orientation unlock failed +} +</pre> + +<h2 id="Specifications" name="Specifications">Specifications</h2> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{ SpecName('Screen Orientation', '', 'Screen Orientation') }}</td> + <td>{{ Spec2('Screen Orientation') }}</td> + <td>Draft specification</td> + </tr> + </tbody> +</table> + +<h2 id="Browser_compatibility">Browser compatibility</h2> + +<p>{{Compat("api.Screen.unlockOrientation")}}</p> + +<h2 id="See_also">See also</h2> + +<ul> + <li>{{domxref("window.screen.orientation")}}</li> + <li>{{domxref("window.screen.lockOrientation()")}}</li> + <li>{{domxref("window.screen.onorientationchange")}}</li> + <li><a href="/en-US/docs/Managing_screen_orientation" title="/en-US/docs/Managing_screen_orientation">Managing screen orientation</a></li> +</ul> |