Class aaoh.kaze.animation.Animation
Defined in: <lib\aaoh.kaze-animation.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Animation。
|
Method Attributes | Method Name and Description |
---|---|
init(callObj, element, speed, startValue, stopValue, stepValue, startCallable, stopCallable, stepCallable)
初期処理。
|
|
次ステップ値の取得。
|
|
start()
アニメーションの開始。
|
|
step()
アニメーションのステップ実行。
|
|
stop()
アニメーションの停止。
|
Method Detail
init(callObj, element, speed, startValue, stopValue, stepValue, startCallable, stopCallable, stepCallable)
初期処理。
- Parameters:
- {Object} callObj
- 呼び出し元オブジェクト
- {Object} element
- エレメント
- {Number} speed
- スピード(msec)
- {Object} startValue
- 開始値
- {Object} stopValue
- 終了値
- {Object} stepValue
- ステップ値
- {Function} startCallable
- 開始ファンクション
- {Function} stopCallable
- 終了ファンクション
- {Function} stepCallable
- ステップファンクション
{Object}
nextValue()
次ステップ値の取得。
- Returns:
- {Object} 次ステップ値またはnullを返す
start()
アニメーションの開始。
step()
アニメーションのステップ実行。
stop()
アニメーションの停止。