cssevents
v0.1.2
Published
Get the correct transition- or animation-end event.
Downloads
55
Readme
CSS Events
Get the correct transition- or animation-end event.
Install
With Bower
bower install cssevents
With NPM
npm install cssevents
Example Setup
Javascript
import 'cssevents';
// or
import {transitionEnd, animationEnd} from 'cssevents';
document.querySelector('.selector').addEventListener(transitionEnd, e => {
// do something
});