Merge pull request #312 from wesbos/master

Added youtube tutorial
This commit is contained in:
Daniel Eden 2015-01-22 11:43:25 -08:00
commit 87e53b5ae0
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ http://api.jquery.com/one/
$('#yourElement').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', doSomething);
```
[View a video tutorial](https://www.youtube.com/watch?v=CBQGl6zokMs) on how to use Animate.css with jQuery here.
**Note:** `jQuery.one()` is used when you want to execute the event handler at most *once*. More information [here](http://api.jquery.com/one/).
You can change the duration of your animations, add a delay or change the number of times that it plays: