Closed stevenvachon closed 10 years ago
After working with transition
for a while, I've come to realize that animation
really is better overall despite its hiccups.
Let's say you had an "adding" animation, but no "removing" animation, there's no way to know anything beyond transition
simply having a value. The event might not even trigger at all.
Also, animation
can override transition
s without hindering any interactive logic (like transition
ed :hover
s).
Right, so there's no obvious way to detect when a transition has been applied. If there was a transition start event, I could start thinking about how that could work, but for now animations only.
animation
causes sudden restarts in animation when interrupted. Usingtransition
would be better, I would think.