javascript - How to determine whether an element is in a transitional state?
typecho2017-07-05 10:36:10
0
1
834
Is there such an attribute? Can you tell whether an element is in a transitional state? Now I mark it by adding attributes to each transitioned element in the transitionend event
You can monitor the following separately, and then use variables to control the status yourself.
transitionrun
//Ready to starttransitionstart
//Start, there may bedelay
transtionend
//End
betweenrun
and
start