--- title: window.screen.onorientationchange slug: Web/API/Screen/onorientationchange translation_of: Web/API/Screen/onorientationchange original_slug: Web/API/Screen.onorientationchange ---

{{ ApiRef() }}

{{SeeCompatTable}}

Summary

{{ event("orientationchange")}} 이벤트를 화면 객체로 보내는 이벤트 핸들러이다.

Syntax

screen.onorientationchange = funcRef;

funcRef 는 함수로의 참조 이다.

Specifications

Specification Status Comment
{{SpecName('Screen Orientation')}} {{Spec2('Screen Orientation')}} Draft specification.

Browser compatibility

{{ CompatibilityTable() }}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support {{ CompatNo() }} {{ CompatVersionUnknown() }} {{ property_prefix("moz") }} {{ CompatNo() }} {{ CompatNo() }} {{ CompatNo() }}
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support {{ CompatNo() }} {{ CompatNo() }} {{ CompatVersionUnknown() }} {{ property_prefix("moz") }} {{ CompatNo() }} {{ CompatNo() }} {{ CompatNo() }}

Gecko notes

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

See also