Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support : how to trigger a jquery script at the end of a WOW animation #343

Open
alexglvr opened this issue Oct 4, 2019 · 1 comment
Open

Comments

@alexglvr
Copy link

alexglvr commented Oct 4, 2019

HI,

I have a wow animation :

<nav class="navbar wow fadeInDown" data-wow-delay="0.5s" data-wow-duration=".5s" id="top-nav">...</nav>

I would like to trigger a jquery function as soon as it ends.

Any help please?

Thanks

Alex

@moeenio
Copy link

moeenio commented Jan 3, 2020

Something like this, with additionnal code to detect what node is concerned (using box) :

var wow = new WOW({
  callback: function(box) {
    setTimeout(function() {
      // whatever scripts you want to run
    }, <your animation duration>);
  }
}).init();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants