transitionEnd
Advanced tools
Weekly downloads
Readme
TransitionEnd is an agnostic and cross-browser library to work with event transitionend.
![]() | ![]() | ![]() | ![]() | ![]() |
---|---|---|---|---|
1.0+ ✔ | 4.0+ ✔ | 10+ ✔ | 10.5 ✔ | 3.2+ ✔ |
To install Selecting, execute:
npm install transitionEnd
Or Bower too:
bower install transitionEnd
Or simply pick up the file from src directory.
bind(callback)
unbind()
whichTransitionEnd()
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"
FAQs
TransitionEnd is an agnostic and cross-browser library to work with event transitionend.
The npm package transitionEnd receives a total of 409 weekly downloads. As such, transitionEnd popularity was classified as not popular.
We found that transitionEnd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.