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

Question about the standard API usage #2

Open
lmartins opened this issue Jun 18, 2014 · 0 comments
Open

Question about the standard API usage #2

lmartins opened this issue Jun 18, 2014 · 0 comments

Comments

@lmartins
Copy link

Hi Anthony,

Im trying to use the standard API as shown in the docs


var waypoints = new Waypoints();

waypoints.addPoint(200, {
  prop1: "value1"
});

waypoints.on('point', function(point, data){
  console.log('Point reached');
});

Im not sure what to pass as first parameter on the waypoint.on method. If im getting it right I just keep the pointstring in there, but after configuring a few points nothing fires while I scroll.

Can you help?

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

1 participant