mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-17 17:45:17 +01:00
Update README.md
`one` typo changed to `on` on animation end event and removed invocation brackets, as they shouldn't be there.
This commit is contained in:
parent
8897f6e799
commit
3e25429ed1
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ $('#yourElement').addClass('animated bounceOutLeft');
|
|||
You can also detect when an animation ends:
|
||||
|
||||
```javascript
|
||||
$('#yourElement').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', doSomething());
|
||||
$('#yourElement').on('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:
|
||||
|
|
Loading…
Reference in a new issue