firmin icon indicating copy to clipboard operation
firmin copied to clipboard

Maybe use the animationEnd event?

Open statico opened this issue 14 years ago • 1 comments

Just spotted this on Stack Overflow:

http://stackoverflow.com/questions/4797675/how-do-i-re-trigger-a-webkit-css-animation-via-javascript

statico avatar Nov 22 '11 07:11 statico

I actually used this approach when I was initially developing the library, but it didn't trigger reliably cross-browser, so I swapped it out for a timeout. If it's now implemented a bit more reliably in the various browsers I'm trying to support I'd definitely reconsider using it.

beastaugh avatar Nov 22 '11 15:11 beastaugh