Permalink
Browse files

Update README.md

  • Loading branch information...
afshinm committed Aug 31, 2016
1 parent 6cfb01a commit 3f8559d39fc19a2387091d2a9165843fd03e0f79
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
@@ -49,6 +49,12 @@ Currently we have two attributes to define the options:
- `data-kui-anim`: Mandatory. Animation name. see [Animations](#animations) section.
- `data-kui-event`: Option to define the event to trigger. see [Events](#events) section. Default is `in`.
Example:
```html
<div data-kui-anim="fadeIn" data-kui-event="top">
```
## Programmatically (JSON)
Also, you can use the `kissuiScrollAnim.add` method to add the animations.

0 comments on commit 3f8559d

Please sign in to comment.