Trigger a function


#1

Hi,

I wonder if there is a way to trigger a js function once an animation is done ?

Thanks in advance


#2

Animator pro allows you to add or remove classes after the conclusion of an animation. I don’t know much about javascript, but I believe you can trigger a js event when a class is added or removed.


#3

Thanks Printninja, i will investigate in that direction :slight_smile:


#4

http://anijs.github.io/
Has all kinds of ‘do this’ ‘to that’ ‘on event’ handlers and could probably do what you want, and more.


#5

Oh ! Thank you too Digismith, that lib seems quite fun and effective :slight_smile: