Re:Incomplete List of Mistakes in the Design of CSS
by iaml on Thursday October 25, 2018 @10:53AM
(#18301327)
>JS doesn't know when a style is actually updated and can then have a new property overwriting it to make the transition happen.
It's not easy, but it's possible. All animated/transioned elements emit lifecycle events like animationstart/transitionstart so you can use those to orchestrate complex animations. This is AFAIK how ng-animate works internally.
It's not easy, but it's possible. All animated/transioned elements emit lifecycle events like animationstart/transitionstart so you can use those to orchestrate complex animations. This is AFAIK how ng-animate works internally.