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,
사이드바 숨기기