From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/api/transitionevent/index.html | 89 ++++++++++++++++++++++ .../api/transitionevent/pseudoelement/index.html | 53 +++++++++++++ 2 files changed, 142 insertions(+) create mode 100644 files/ja/web/api/transitionevent/index.html create mode 100644 files/ja/web/api/transitionevent/pseudoelement/index.html (limited to 'files/ja/web/api/transitionevent') diff --git a/files/ja/web/api/transitionevent/index.html b/files/ja/web/api/transitionevent/index.html new file mode 100644 index 0000000000..aefa6664ae --- /dev/null +++ b/files/ja/web/api/transitionevent/index.html @@ -0,0 +1,89 @@ +--- +title: TransitionEvent +slug: Web/API/TransitionEvent +tags: + - API + - CSS + - CSS3 Transitions + - CSSOM + - Experimental + - Reference +translation_of: Web/API/TransitionEvent +--- +

{{APIRef("CSSOM")}} {{SeeCompatTable}}

+ +

TransitionEvent インターフェイスは、トランジションに関する情報を提供するイベントを表します。

+ +

コンストラクター

+ +
+
{{domxref("TransitionEvent.TransitionEvent", "TransitionEvent()")}}
+
指定された引数で TransitionEvent イベントを作成します。
+
+ +

プロパティ

+ +

親である {{domxref("Event")}} から継承したプロパティもあります。

+ +
+
{{domxref("TransitionEvent.propertyName")}} {{readonlyInline}}
+
{{domxref("DOMString")}} で、トランジションに関連付けられた CSS プロパティの名前が入ります。
+
{{domxref("TransitionEvent.elapsedTime")}} {{readonlyInline}}
+
float で、このイベントが発生した時点でトランジションが実行している時間を秒単位で表します。この値は {{cssxref("transition-delay")}} プロパティの影響を受けません。
+
{{domxref("TransitionEvent.pseudoElement")}} {{readonlyInline}}
+
{{domxref("DOMString")}} で、 :: で始まる、アニメーションが実行される擬似要素の名前が入ります。トランジションが擬似要素上ではなく要素上で実行されている場合は、空文字列 '' になります。
+
+ +

TransitionEvent の種類

+ +
+
{{domxref("HTMLElement.transitioncancel_event", "transitioncancel")}}
+
{{domxref("Event")}} で、 CSS トランジションが中断されたときに発生します。
+
{{domxref("HTMLElement.transitionend_event", "transitionend")}}
+
{{domxref("Event")}} で、 CSS トランジションの実行が終了したときに発生します。
+
{{domxref("HTMLElement.transitionrun_event", "transitionrun")}}
+
{{domxref("Event")}} で、 CSS トランジションが生成されたとき、実行中のトランジションに追加されたときに発生し、必ずしも開始時に発生するとは限りません。
+
{{domxref("HTMLElement.transitionstart_event", "transitionstart")}}
+
{{domxref("Event")}} で、 CSS トランジションの推移が開始したときに発生します。
+
+ +

メソッド

+ +

親である {{domxref("Event")}} から継承したプロパティもあります。

+ +
+
{{domxref("TransitionEvent.initTransitionEvent()")}} {{non-standard_inline}}{{deprecated_inline}}
+
非推奨の {{domxref("Document.createEvent()", "Document.createEvent(\"TransitionEvent\")")}} メソッドを使用して生成された TransitionEvent を初期化します。
+
+ +

仕様書

+ + + + + + + + + + + + + + + + +
仕様書状態備考
{{ SpecName('CSS3 Transitions', '#interface-transitionevent', 'TransitionEvent') }}{{ Spec2('CSS3 Transitions') }}初回定義
+ +

ブラウザーの互換性

+ + + +

{{Compat("api.TransitionEvent")}}

+ +

関連情報

+ + diff --git a/files/ja/web/api/transitionevent/pseudoelement/index.html b/files/ja/web/api/transitionevent/pseudoelement/index.html new file mode 100644 index 0000000000..3355dc07e8 --- /dev/null +++ b/files/ja/web/api/transitionevent/pseudoelement/index.html @@ -0,0 +1,53 @@ +--- +title: TransitionEvent.pseudoElement +slug: Web/API/TransitionEvent/pseudoElement +tags: + - API + - CSS + - CSS3 Transitions + - CSSOM + - Experimental + - Property + - Reference + - TransitionEvent +translation_of: Web/API/TransitionEvent/pseudoElement +--- +

{{ apiref("CSSOM") }} {{SeeCompatTable}}

+ +

TransitionEvent.pseudoElement 読み取り専用プロパティは、 {{domxref("DOMString")}} であり、 '::' で始まり、アニメーションが実行される疑似要素の名前が含まれています。トランジションが擬似要素で実行されない場合は、要素は空文字です: '' 。

+ +

構文

+ +
name = TransitionEvent.pseudoElement
+ +

仕様

+ + + + + + + + + + + + + + + + +
仕様ステータス備考
{{ SpecName('CSS3 Transitions', '#Events-TransitionEvent-pseudoElement', 'TransitionEvent.pseudoElement') }}{{ Spec2('CSS3 Transitions')}}初回定義。
+ +

ブラウザー実装状況

+ + + +

{{Compat("api.TransitionEvent.pseudoElement")}}

+ +

関連項目

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