Skip to content

Commit 0ca8f2d

Browse files
KonScyenceeltonmesquita
authored andcommitted
Fixed the name of the function in README.md (#915)
`animateCss` to `animateCSS` because that's what is used as an example after.
1 parent 97e1706 commit 0ca8f2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ element.addEventListener('animationend', function() { doSomething() })
105105
You can use this simple function to add and remove the animations:
106106

107107
```javascript
108-
function animateCss(element, animationName, callback) {
108+
function animateCSS(element, animationName, callback) {
109109
const node = document.querySelector(element)
110110
node.classList.add('animated', animationName)
111111

0 commit comments

Comments
 (0)