add message to deter uncessary issues about one

This commit is contained in:
Taylor Lapeyre 2014-04-06 14:00:20 -05:00
parent 14d441ed60
commit 79e575af1d
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);
```
**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:
```css