Questions tagged [transitionend]

The transitionend DOM Event is a transition event that occurs at the completion of a CSS Transition and therefore allows developers to perform actions that synchronize with the completion of a transition.

The transitionend DOM Event is a transition event that occurs at the completion of a CSS Transition. If the transition is removed before completion, such as if the transition-property is removed, then the event will not fire.

The transitionend event allows developers to perform actions that synchronize with the completion of a transition and is available since CSS3 (CSS Transitions Module Level 3).

General info

  • Specification: CSS Transitions
  • Target: Element, Document, Window
  • Bubbles: Yes
  • Cancelable: Yes
  • Synchronous: No
  • Context Info: propertyName, elapsedTime, pseudoElement

Links | Specifications & References

Browser Implementations / Aliases

  • Implemented in Chrome 1.0, Android 2.1 and WebKit 3.2 as "webkitTransitionEnd". Chrome 36 and WebKit 7.0.6 use the standard "transitionend".
  • Implemented as "oTransitionEnd" starting from Opera 10.5, as "otransitionend" starting from version 12 and as the standard "transitionend" starting from version 12.10.
  • Implemented as standard "transitionend" across other browser when not listed above.

How to set add event listener for standard transitionend:
oTarget.addEventListener("transitionend", handlerFunction[, useCapture|options]);
34 questions
0
votes
0 answers

Event transitionend isn't triggered on Safari 7.0.2 & Safari 6.1

I got a problem that my product's codes bind event transitionend to a element. But this event isn't triggered on Chrome 33, Safari 7.0.2 & Safari 6.1. My codes can work fine on Firefox 27.0.1. My codes used to work well on Chrome's old versions like…
0
votes
1 answer

jquery bind transitionend when not supported

How can I handle the bind transitionend on browsers that don't support it? If I have $('#div').bind('transitionend', function(){...}); $('#div').css('width','100px'); //this will start transition if supported How can I make it working in ie8? I…
Nereo Costacurta
  • 7,693
  • 4
  • 21
  • 27
-1
votes
1 answer

Javascript: addEventListener for transitionend does not execute function

I have the following code which is supposed to make a banner fade into view, which it does. However, there are additional effects I want to trigger once the transition has completed, but I cannot get the transitionend event to trigger a call to a…
-3
votes
2 answers

'transitionend' event does not fire consistently

The following code works inconsistently with Chrome but also Firefox (with 'transitionend'). The function slogan_fade_next is just console.log('end');. I always get the classname applied to the first span element but anything after that is…
Rob
  • 14,746
  • 28
  • 47
  • 65
1 2
3