Description
TransitionEnd is an agnostic and cross-browser library to work with event transitionend.
TransitionEnd alternatives and similar libraries
Based on the "Animations" category.
Alternatively, view TransitionEnd alternatives based on common mentions on social networks and blogs.
-
shuffle-images
The Simplest Way to shuffle through images in a Creative Way http://www.thepetedesign.com/demos/shuffle-images_demo.html -
Scrawl-canvas Library
Responsive, integrated and interactive HTML5 canvas elements. -
js-loading-overlay
Display loading overlay for your application easily and beautifully.
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of TransitionEnd or a related project?
README
TransitionEnd
TransitionEnd is an agnostic and cross-browser library to work with event transitionend.
Browser Support
![]() |
![]() |
![]() |
![]() |
![]() |
---|---|---|---|---|
1.0+ ✔ | 4.0+ ✔ | 10+ ✔ | 10.5 ✔ | 3.2+ ✔ |
Installation
To install Selecting, execute:
npm install transitionEnd
Or Bower too:
bower install transitionEnd
Or simply pick up the file from src directory.
Methods
- transitionEnd(element).bind(callback)
- transitionEnd(element).unbind()
- transitionEnd(element).whichTransitionEnd()
Examples
var box = $("#box"); // or document.getElementById("box")
var foo = $("#foo");
transitionEnd(box).bind(function(){
foo.addClass("on");
transitionEnd(box).unbind();
});
var transition = transitionEnd(box).whichTransitionEnd(); // return for example "webkitTransitionEnd"