@litecanvas/utils 0.24.0 → 0.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/tween/README.md +12 -0
package/package.json
CHANGED
package/src/tween/README.md
CHANGED
|
@@ -126,6 +126,18 @@ moveRight.chain(moveLeft)
|
|
|
126
126
|
moveRight.start()
|
|
127
127
|
```
|
|
128
128
|
|
|
129
|
+
### TweenController#delay()
|
|
130
|
+
|
|
131
|
+
Wait a amount of seconds before starts the animation.
|
|
132
|
+
|
|
133
|
+
Syntax: `.delay(seconds: number): this`
|
|
134
|
+
|
|
135
|
+
```js
|
|
136
|
+
tween(...)
|
|
137
|
+
.delay(3)
|
|
138
|
+
.start() // wait 3 seconds before starts
|
|
139
|
+
```
|
|
140
|
+
|
|
129
141
|
### TweenController#onEnd()
|
|
130
142
|
|
|
131
143
|
Enqueues a callback to be executed when the animation finishes.
|