From c32682b053bad2602a8c910cc7e4106acaefade1 Mon Sep 17 00:00:00 2001 From: MDN Date: Fri, 18 Mar 2022 00:13:02 +0000 Subject: [CRON] sync translated content --- .../web/api/mediastreamtrack/mute_event/index.html | 58 +++++++++++++++++++++ .../api/mediastreamtrack/unmute_event/index.html | 54 +++++++++++++++++++ .../web/api/window/devicemotion_event/index.html | 60 ++++++++++++++++++++++ 3 files changed, 172 insertions(+) create mode 100644 files/ja/conflicting/web/api/mediastreamtrack/mute_event/index.html create mode 100644 files/ja/conflicting/web/api/mediastreamtrack/unmute_event/index.html create mode 100644 files/ja/conflicting/web/api/window/devicemotion_event/index.html (limited to 'files/ja/conflicting/web') diff --git a/files/ja/conflicting/web/api/mediastreamtrack/mute_event/index.html b/files/ja/conflicting/web/api/mediastreamtrack/mute_event/index.html new file mode 100644 index 0000000000..42f6afd740 --- /dev/null +++ b/files/ja/conflicting/web/api/mediastreamtrack/mute_event/index.html @@ -0,0 +1,58 @@ +--- +title: MediaStreamTrack.onmute +slug: conflicting/Web/API/MediaStreamTrack/mute_event +translation_of: Web/API/MediaStreamTrack/onmute +original_slug: Web/API/MediaStreamTrack/onmute +--- +

{{ APIRef("Media Capture and Streams") }}

+ +

MediaStreamTrack.onmuteイベントハンドラは{{event("mute")}}イベントを受け取った時に呼び出されるプロパティです。このイベントは、トラックが一時的にデータを提供することができない時に発生します。

+ +

文法

+ +
track.onmute = function;
+
+ +

+ +

{{event("mute")}}イベントが発生した時の実行する処理の関数をEventHandlerとして設定します。このイベントハンドラーの関数は1つのパラメータ持ちます。このパラメータはイベントオブジェクトであり、単純なEventのオブジェクトです。

+ +

+ +

この例では、「ミュートされたスピーカー」絵文字を要素のコンテンツHTMLに設定するため、ミュートハンドラーが確立されています。

+ +
myTrack.onmute = function(evt) {
+  playStateIcon.innerHTML = "&#1F507;";
+};
+
+ +

仕様

+ + + + + + + + + + + + + + + + +
仕様状況コメント
{{ SpecName('Media Capture', '#widl-MediaStreamTrack-onmute', 'MediaStreamTrack.onmute') }}{{ Spec2('Media Capture') }}初版
+ +

ブラウザ互換性

+ + + +

{{Compat("api.MediaStreamTrack.onmute")}}

+ +

関連項目

+ + diff --git a/files/ja/conflicting/web/api/mediastreamtrack/unmute_event/index.html b/files/ja/conflicting/web/api/mediastreamtrack/unmute_event/index.html new file mode 100644 index 0000000000..9735d8bf34 --- /dev/null +++ b/files/ja/conflicting/web/api/mediastreamtrack/unmute_event/index.html @@ -0,0 +1,54 @@ +--- +title: MediaStreamTrack.onunmute +slug: conflicting/Web/API/MediaStreamTrack/unmute_event +translation_of: Web/API/MediaStreamTrack/onunmute +original_slug: Web/API/MediaStreamTrack/onunmute +--- +

{{ APIRef("Media Capture and Streams") }}

+ +

MediaStreamTrack.onunmuteイベントハンドラは{{event("unmute")}}イベントを受け取った時に呼び出されるプロパティです。このイベントは、トラックが再びデータを送信できるようになった時に発生します。

+ +

文法

+ +
track.onunmute = function;
+
+ +

+ + + +

+ +
dc.onunmute = function(ev) { alert("unmute event detected!"); };
+
+ +

仕様

+ + + + + + + + + + + + + + + + +
仕様状況コメント
{{ SpecName('Media Capture', '#widl-MediaStreamTrack-onunmute', 'MediaStreamTrack.onunmute') }}{{ Spec2('Media Capture') }}初版
+ +

ブラウザ互換性

+ +

{{Compat("api.MediaStreamTrack.onunmute")}}

+ +

関連項目

+ + diff --git a/files/ja/conflicting/web/api/window/devicemotion_event/index.html b/files/ja/conflicting/web/api/window/devicemotion_event/index.html new file mode 100644 index 0000000000..7c0b782d06 --- /dev/null +++ b/files/ja/conflicting/web/api/window/devicemotion_event/index.html @@ -0,0 +1,60 @@ +--- +title: Window.ondevicemotion +slug: conflicting/Web/API/Window/devicemotion_event +tags: + - API + - Device Orientation + - Event Handler + - Mobile + - Motion + - Orientation + - Property + - Reference + - イベントハンドラー + - プロパティ + - モバイル + - 向き + - 端末の向き +translation_of: Web/API/Window/ondevicemotion +original_slug: Web/API/Window/ondevicemotion +--- +
{{APIRef("Device Orientation Events")}}
+ +

Windows に対して送信される {{domxref("Window/devicemotion_event", "devicemotion")}} イベントのためのイベントハンドラーです。

+ +

構文

+ +
window.ondevicemotion = funcRef;
+ +

funcRef のところは関数への参照です。この関数は発生した動きを説明する {{DOMxRef("DeviceMotionEvent")}} オブジェクトを受け取ります。

+ +

仕様書

+ + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName("Device Orientation")}}{{Spec2("Device Orientation")}}Initial definition.
+ +

ブラウザーの互換性

+ +

{{Compat("api.Window.ondevicemotion")}}

+ +

関連情報

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