I
I
Ingerniated2018-03-20 21:19:37
JavaScript
Ingerniated, 2018-03-20 21:19:37

How to get the end point of the animation?

Good evening.
There is a structure

function sly() {
  if(x > 100) {
      doc.qry(".cls").style.animationName = "down";
      doc.qry(".cls").style.display = "block";
  }
  else {
      doc.qry(".cls").style.animationName = "up";
  }
}

How to catch the moment when else will complete its animation and add style to it none?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2018-03-20
@Ingernirated

animation end

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question