FX
Listen to the last transitionend
event.
Compare to Vue Transition API, our
from()
is fired as soon as thetransition
function is called, our transition will broken iffrom()
has forced layout / reflow.
But as described above, this is just an approach to the last
transitionend
event, onlydone()
is essential.