Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

window.screen.onorientationchange

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.

Summary

orientationchange 이벤트를 화면 객체로 보내는 이벤트 핸들러이다.

Syntax

screen.onorientationchange = funcRef;

funcRef 는 함수로의 참조 이다.

Specifications

Specification Status Comment
Screen Orientation API Working Draft Draft specification.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support Not supported (Yes) moz Not supported Not supported Not supported
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support Not supported Not supported (Yes) moz Not supported Not supported Not supported

Gecko notes

이 API 는 현재 초안형태이다. 오직 B2G 와 안드로이드용 Firefox 에서 prefixed method (onmozorientationchange) 형태로만 구현된다.

See also

문서 태그 및 공헌자

 이 페이지의 공헌자: jsx, teoli, junho85
 최종 변경: jsx,