Skip to content

Get the correct transition- or animation-end event.

License

Notifications You must be signed in to change notification settings

iamso/cssevents

Repository files navigation

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

About

Get the correct transition- or animation-end event.

Resources

License

Stars

Watchers

Forks

Packages

No packages published