Permalink
Browse files

Update .stop documentation

  • Loading branch information...
1 parent a35b56d commit 9158695380f7f3b587516560041f5cc0fce1abb6 @ansis ansis committed Aug 10, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 API.md
View
6 API.md
@@ -134,8 +134,12 @@ Start an _animated ease_. Both parameters are optional.
**Returns** `true` or `false` depending on whether easey is currently animating the map.
-### ease.stop()
+### ease.stop([callback])
Abort the currently running animation.
+**Arguments:**
+
+* `callback` is a function to be called after the previous animation has been successfully stopped.
+
**Returns** the easey object.

0 comments on commit 9158695

Please sign in to comment.