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

Callback not working #332

Open
mhebrard opened this issue Feb 15, 2019 · 1 comment
Open

Callback not working #332

mhebrard opened this issue Feb 15, 2019 · 1 comment

Comments

@mhebrard
Copy link

I use wow to animates few element on my page with success.

I wish to use wow to trigger other js functions when item are visible.
I try to use callback option but it doesn't seams to work

var wow = new WOW(
    {
      callback:     function(box) {
        // the callback is fired every time an animation is started
        // the argument that is passed in is the DOM node being animated
        console.log("!! WOW !!");
      }
    }
  );
  wow.init();

the animations are triggered, but nothing is logged

@strophi
Copy link

strophi commented Mar 13, 2019

Hi,

I have the same Problem. I want to start a number animation on reveal, doesn't work. I have wow.js bundled with MDB Pro.

thanx in advance,

strophi

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