mirror of
https://github.com/animate-css/animate.css.git
synced 2024-09-29 22:41:31 +02:00
Correct jQuery example. Fixes #127
This commit is contained in:
parent
d5d0861aa7
commit
ee75b81e09
@ -21,7 +21,7 @@ $('#yourElement').addClass('animated bounceOutLeft');
|
|||||||
You can also detect when an animation ends:
|
You can also detect when an animation ends:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
$('#yourElement').one('webkitAnimationEnd mozAnimationEnd oAnimationEnd animationEnd', doSomething());
|
$('#yourElement').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', doSomething());
|
||||||
```
|
```
|
||||||
|
|
||||||
You can change the duration of your animations, add a delay or change the number of times that it plays:
|
You can change the duration of your animations, add a delay or change the number of times that it plays:
|
||||||
|
Loading…
Reference in New Issue
Block a user