Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. /**
  2. * Run one of this lines in chrome dev console to determine which elements are animated right now (i.e. to find hidden or undesirable animations)
  3. */
  4. document.addEventListener("animationiteration",e=>{console.log(e.target)})
  5. document.querySelectorAll("*").forEach(el=>{el.addEventListener("animationiteration",e=>{console.log(e.target)})})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement