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
the page loads and the animation plays and finishes.. expected not to animate again
for a certain reason i need to display none the wrapper of one of the animated elements and show it back on a certain condition..
when i show it back the animation inside this wrapper plays again..
how can i stop this behavior??
how can we for example add a class that stops any attempt of the animation after that the element has already animated..
The text was updated successfully, but these errors were encountered:
roro1993
changed the title
wow is not playing once
wow library is not playing once when we hide then show the elements
Dec 15, 2017
roro1993
changed the title
wow library is not playing once when we hide then show the elements
wow is not playing once when we hide then show the elements
Dec 15, 2017
function afterReveal(e){
e.addEventListener('animationend', function () {
$(e).addClass('no-animation');
});
}
var wow = new WOW({
offset: 100,
callback: afterReveal
});
wow.init();
the page loads and the animation plays and finishes.. expected not to animate again
for a certain reason i need to display none the wrapper of one of the animated elements and show it back on a certain condition..
when i show it back the animation inside this wrapper plays again..
how can i stop this behavior??
how can we for example add a class that stops any attempt of the animation after that the element has already animated..
The text was updated successfully, but these errors were encountered: