Skip to content

Commit

Permalink
Move animation class list to bottom of readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrykuzmenkov committed Jan 10, 2016
1 parent 60f1eb8 commit 847249c
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,23 @@ animation(element)

Pay attetion you need to require used animated styles too.

## Methods
### animate(animation, opts)
- **animation** - name of animation to perform
- **opts** - object with options
- - *keep* - keep element state after animation is done (default: false)
- - *infinite* - loop animation infinitly (default: false)

### start(cb)
- **cb** - callback that will be called after animation start

### end(cb)
- **cb** - callback that will be called after animation finished

### iteration(cb)
- **cb** - callback that will be called on animation iteraction


## Animation list
All animation has dash (-) notation in names. Keyframes for animation has camelNotationName.
Here is full list of supported CSS animation name that you can use in animate function
Expand Down Expand Up @@ -166,19 +183,3 @@ Here is full list of supported CSS animation name that you can use in animate fu
- zoom-out-right
- zoom-out-up
- zoom-out

## Methods
### animate(animation, opts)
- **animation** - name of animation to perform
- **opts** - object with options
- - *keep* - keep element state after animation is done (default: false)
- - *infinite* - loop animation infinitly (default: false)

### start(cb)
- **cb** - callback that will be called after animation start

### end(cb)
- **cb** - callback that will be called after animation finished

### iteration(cb)
- **cb** - callback that will be called on animation iteraction

0 comments on commit 847249c

Please sign in to comment.