mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-13 07:41:08 +01:00
Fixed the name of the function in README.md (#915)
`animateCss` to `animateCSS` because that's what is used as an example after.
This commit is contained in:
parent
97e17068a6
commit
0ca8f2dc7c
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ element.addEventListener('animationend', function() { doSomething() })
|
|||
You can use this simple function to add and remove the animations:
|
||||
|
||||
```javascript
|
||||
function animateCss(element, animationName, callback) {
|
||||
function animateCSS(element, animationName, callback) {
|
||||
const node = document.querySelector(element)
|
||||
node.classList.add('animated', animationName)
|
||||
|
||||
|
|
Loading…
Reference in a new issue