cssevents

0.1.2 • Public • Published

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
});

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i cssevents

Weekly Downloads

35

Version

0.1.2

License

MIT

Last publish

Collaborators

  • iamso