Created
December 8, 2019 04:13
-
-
Save Jagathishrex/b7d101eeefbd2da13ffb7596f860eb46 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let square = document.getElementById('square'); | |
square.addEventListener('animationstart', (ev) => { | |
console.log("Animation Startted", ev); | |
}); | |
square.addEventListener('animationiteration', (ev) => { | |
console.log("animation_iteration", ev); | |
}); | |
square.addEventListener('animationend', (ev) => { | |
console.log("animation end", ev); | |
}); | |
square.addEventListener('animationcancel', (ev) => { | |
console.log("Animation canceled" , ev); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment