animationend does't work with transit.js ??
suppose i have the following animation:
- var delay = 0;
- $('svg polygon').each(function(i , e){
- $(this).transition({ x : 0 , y : 0 , delay : (delay = delay > 1000 ? 0 : delay += 100) });
- });
now suppose i have the following event handler
- $('svg')[0].addEventListener('webkitAnimationEnd animationend' , function(){
- console.log('animation over');
- });
The event listener never fires , WHY ?? does animationend event not work with transit.js ?
Thank you.