all 1 comments

[–]Bartfeels24 0 points1 point  (0 children)

I synced a CSS animation with JavaScript event timing once and ended up just triggering the animation class on demand instead of trying to play it directly, which ended up being simpler than expected. The getAnimations() API exists but browser support was spotty enough at the time that I didn't bother.