Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

A util to use transitionEnd and animationEnd in your projects

Notifications You must be signed in to change notification settings

codezilla-nl/util-listenForEnd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

util-listenForEnd

usage

  • Include util in your project
  • Use listenForAnimationEnd / listenForTransitionEnd

Ex:

import { listenForAnimationEnd } from 'path/to/util';

...
var el = document.querySelectorAll('.element-with-animation');
listenForAnimationEnd(el, function() {
    // do stuff;
});

About

A util to use transitionEnd and animationEnd in your projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published