1

I'm trying to catch a running css transition to have some sort of an event-function as jQuery('#element').resize(); so I can smoothley adjust my layout which is partly generated by jQuery.

I already found plenty of articles where transitionend is described. Sadly the event is only triggered when - you might guess it - the transition ended. But I'm looking for an event, that keeps triggering until the transition ended.

4
  • Plenty of useful topics here: google.se/… Commented Jun 30, 2013 at 18:25
  • Sorry, I didn't mention, that I'm not looking for transitionend. Commented Jun 30, 2013 at 18:39
  • Okay thanks... maybe I'll find a workaround Commented Jun 30, 2013 at 18:48
  • Set time interval to read css properties once animation starts using .css(), clear interval once transition ends. Commented Jun 30, 2013 at 23:03

1 Answer 1

1

Unfortunately, and as specified by the W3, the only JavaScript event that fires as a result of a CSS transition is the transitionend event. There are no other events described in the spec, let alone implemented.

References:

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.