NOT A TYPO
This commit is contained in:
parent
8897f6e799
commit
53ac17b2a8
|
@ -20,6 +20,12 @@ $('#yourElement').addClass('animated bounceOutLeft');
|
||||||
|
|
||||||
You can also detect when an animation ends:
|
You can also detect when an animation ends:
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Before you make changes to this file, you should know that $('#yourElement').one() is *NOT A TYPO*
|
||||||
|
|
||||||
|
http://api.jquery.com/one/
|
||||||
|
-->
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
$('#yourElement').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', doSomething());
|
$('#yourElement').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', doSomething());
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue