From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../web/api/screen/onorientationchange/index.html | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 files/ja/web/api/screen/onorientationchange/index.html (limited to 'files/ja/web/api/screen/onorientationchange') diff --git a/files/ja/web/api/screen/onorientationchange/index.html b/files/ja/web/api/screen/onorientationchange/index.html new file mode 100644 index 0000000000..bc583781e0 --- /dev/null +++ b/files/ja/web/api/screen/onorientationchange/index.html @@ -0,0 +1,58 @@ +--- +title: Screen.onorientationchange +slug: Web/API/Screen/onorientationchange +tags: + - API + - CSSOM View + - Deprecated + - Event Handler + - Property + - Screen Orientation +translation_of: Web/API/Screen/onorientationchange +--- +

{{APIRef("Screen Orientation API")}}{{Deprecated_Header}}

+ +
+

警告: これは標準外で非推奨の機能であり、 Firefox だけが異なる名前で実装されていました。代わりに {{DOMxRef("ScreenOrientation.onchange")}} を使用してください。

+
+ +

Screen オブジェクトに送信される {{domxref("Window/orientationchange_event", "orientationchange")}} イベントのイベントハンドラーです。

+ +

構文

+ +
screen.onorientationchange = funcRef;
+
+ +

ここで funcRef は関数への参照です。

+ +

仕様書

+ + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName('Screen Orientation', 'published/20140220.html#extensions-to-the-screen-interface', 'onorientationchange')}}{{Spec2('Screen Orientation')}}初回定義 (草稿には既に存在しません)
+ +

ブラウザーの互換性

+ + + +

{{Compat("api.Screen.onorientationchange")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf