I'm not looking to trigger a CSS animation from JS, but rather the opposite.
If I do a CSS animation via the -webkit-transition
or transition: all 1000ms
type style sheet, is there a way to trigger a JS function after the transition is done?
Basically I've been doing animations via javascript and I want to convert some of them to CSS animations, but I need to trigger javascript events after the animations have completed.