You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this beautiful plugin with animate.css (for some other animations).
When animsition,js listen for the animationend in the $.fn.animateCallback the animation is stopped even if it's a children to end another animation.
I edited the row where you bind the animationend (inside the $.fn.animateCallback):
$this.on(end, function (evt) {
if (evt.originalEvent.animationName === cls) {
$this.off(end);
return callback.call(this);
}
});
where cls is the class assigned to the animsition container (it has to be passed everytime the methos is called)
Best regards
S
The text was updated successfully, but these errors were encountered:
stefanoberetta
changed the title
IN animation stopped if another animation iends before the animsition-in-duration
IN animation stopped if another animation ends before the animsition-in-duration
Aug 9, 2018
I'm using this beautiful plugin with animate.css (for some other animations).
When animsition,js listen for the animationend in the $.fn.animateCallback the animation is stopped even if it's a children to end another animation.
I edited the row where you bind the animationend (inside the $.fn.animateCallback):
where cls is the class assigned to the animsition container (it has to be passed everytime the methos is called)
Best regards
S
The text was updated successfully, but these errors were encountered: