Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
antonjb committed Feb 20, 2014
1 parent 89779ed commit 3786cc7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,13 @@ var foo = new Sprite(..., ..., {fps: 12, reverse: true});
// Changed my mind, play at 24 fps and forwards
foo.play({fps: 24, reverse: false, onComplete: fooCompleteHandler});
```
### stop([frame] [, animated] [, callback])
### stop([options])
Stops the animation, optionally on a specific frame.

- `frame` (Number) - Frame number to stop on
- `animated` (Boolean) - If stopping should be animated
- `callback` (Function) - Called on completion of an animated `stop`
- `options` (Object)
- `frame` (Number) - Frame number to stop on
- `animated` (Boolean) - If stopping should be animated
- `callback` (Function) - Called on completion of `stop`

### frame([value])
Getter/Setter for frame.
Expand Down

0 comments on commit 3786cc7

Please sign in to comment.