From bc02e4971fc7076b2b557d14e95c59a9597c2206 Mon Sep 17 00:00:00 2001 From: rururux Date: Wed, 4 Aug 2021 10:34:33 +0900 Subject: Remove "spacing" option (#1786) fixes #1785 --- files/ja/web/api/element/animate/index.html | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/files/ja/web/api/element/animate/index.html b/files/ja/web/api/element/animate/index.html index d8a1a29c2b..a0108d9f60 100644 --- a/files/ja/web/api/element/animate/index.html +++ b/files/ja/web/api/element/animate/index.html @@ -70,32 +70,6 @@ translation_of: Web/API/Element/animate
iterationComposite
Defines the way animation values build from iteration to iteration. accumulate または replace を指定できます(上記参照)。デフォルト値は replace です。
-
spacing
-
アニメーションの再生時間内にわたって、時間軸上におけるキーフレームの配置方法を指定します。ただし、時間のオフセットは指定されていないものと仮定して計算が行われます。デフォルト値は distribute です。 - - -

以下の例では、CSS の left プロパティに関する 4 つのキーフレームを指定したアニメーションについて、spacing プロパティの働きを示しています(ここでは仕様書の例を参考にしています)。

- -
/* 左のグラフ */
-elem.animate([ { left:   '0px' },
-               { left: '-20px' },
-               { left: '100px' },
-               { left:  '50px' }
-             ], 1000);  /* spacing はデフォルト値 "distribute" */
-
- -
/* 右のグラフ */
-elem.animate([ { left:   '0px' },
-               { left: '-20px' },
-               { left: '100px' },
-               { left:  '50px' }
-             ], { duration: 1000, spacing: "paced(left)" });
- -

 

-

戻り値

-- cgit v1.2.3-54-g00ecf