Added youtube tutorial

I created a tutorial on how to use Animate.css as I had many of my students asking - sharing here as it seems to be very popular and should be added to the documentation.
This commit is contained in:
Wes Bos 2014-11-11 16:18:24 -05:00
parent a3cf3e6c88
commit f4758b5fea
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: