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/animationevent/elapsedtime/index.html | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 files/ja/web/api/animationevent/elapsedtime/index.html (limited to 'files/ja/web/api/animationevent/elapsedtime') diff --git a/files/ja/web/api/animationevent/elapsedtime/index.html b/files/ja/web/api/animationevent/elapsedtime/index.html new file mode 100644 index 0000000000..531af71163 --- /dev/null +++ b/files/ja/web/api/animationevent/elapsedtime/index.html @@ -0,0 +1,54 @@ +--- +title: AnimationEvent.elapsedTime +slug: Web/API/AnimationEvent/elapsedTime +tags: + - API + - AnimationEvent + - CSSOM + - Experimental + - Property + - Reference + - Web Animations + - プロパティ +translation_of: Web/API/AnimationEvent/elapsedTime +--- +
{{SeeCompatTable}}{{ apiref("Web Animations API") }}
+ +

AnimationEvent.elapsedTime は読み取り専用のプロパティで、アニメーションが開始されてからの秒数を float 型で表します。このイベントが発生したとき、アニメーションが停止した場合を除いて常に設定されます。 {{domxref("HTMLElement/animationstart_event", "animationstart")}} イベントにおいては elapsedTime0.0 になりますが、 {{cssxref("animation-delay")}} が負の値の場合は、このイベントは elapsedTime(-1 * 待ち時間) であるときに発生します。.

+ +

構文

+ +
time = AnimationEvent.elapsedTime
+ +

仕様書

+ + + + + + + + + + + + + + + + +
仕様書状態備考
{{ SpecName('CSS3 Animations', '#dom-animationevent-elapsedtime', 'AnimationEvent.elapsedTime') }}{{ Spec2('CSS3 Animations')}}初回定義
+ +

ブラウザーの互換性

+ + + +

{{Compat("api.AnimationEvent.elapsedTime")}}

+ +

関連情報

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