Skip to content
Browse files

docs

  • Loading branch information...
1 parent e970f7e commit edec4aac83170bed5c2cfbd71e1a3a5cfeaab818 @tj tj committed
Showing with 8 additions and 3 deletions.
  1. +8 −3 Readme.md
View
11 Readme.md
@@ -49,7 +49,7 @@ animate();
### Tween#to(obj:Object|Array)
Tween to `obj` and reset internal state.
-
+
tween.to({ x: 50, y: 100 })
### Tween#duration(ms:Number)
@@ -59,15 +59,20 @@ animate();
### Tween#ease(fn:String|Function)
Set easing function to `fn`.
-
+
tween.ease('in-out-sine')
### Tween#update(fn:Function)
- Set update function to `fn` or
+ Set update function to `fn` or
when no argument is given this performs
a "step".
+### Tween#stop()
+
+ Immediately stop the tween and emit "stop" and end" events. `tween.stopped`
+ is then marked as `true`.
+
## License
MIT

0 comments on commit edec4aa

Please sign in to comment.
Something went wrong with that request. Please try again.