Skip to content

Commit 8f2e774

Browse files
committed
Correct ease type
1 parent 7a98fe6 commit 8f2e774

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/tweens/typedefs/NumberTweenBuilderConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @property {number} [to=1] - The end number.
77
* @property {number} [delay=0] - The number of milliseconds to delay before the tween will start.
88
* @property {number} [duration=1000] - The duration of the tween in milliseconds.
9-
* @property {string} [ease='Power0'] - The easing equation to use for the tween.
9+
* @property {(string|function)} [ease='Power0'] - The easing equation to use for the tween.
1010
* @property {array} [easeParams] - Optional easing parameters.
1111
* @property {number} [hold=0] - The number of milliseconds to hold the tween for before yoyo'ing.
1212
* @property {number} [repeat=0] - The number of times to repeat the tween.

src/tweens/typedefs/TweenBuilderConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @property {any} targets - The object, or an array of objects, to run the tween on.
66
* @property {number} [delay=0] - The number of milliseconds to delay before the tween will start.
77
* @property {number} [duration=1000] - The duration of the tween in milliseconds.
8-
* @property {string} [ease='Power0'] - The easing equation to use for the tween.
8+
* @property {(string|function)} [ease='Power0'] - The easing equation to use for the tween.
99
* @property {array} [easeParams] - Optional easing parameters.
1010
* @property {number} [hold=0] - The number of milliseconds to hold the tween for before yoyo'ing.
1111
* @property {number} [repeat=0] - The number of times each property tween repeats.

0 commit comments

Comments
 (0)