Skip to content

Waypoints is a library that makes it easy to execute a function whenever you scroll to an element.

Notifications You must be signed in to change notification settings

imakewebthings/waypoints

Folders and files

NameName
Last commit message
Last commit date

Latest commit

34d9f6d · Sep 3, 2016
Sep 3, 2016
Jul 10, 2016
Jul 10, 2016
Jun 20, 2014
Dec 17, 2014
Aug 18, 2015
Sep 3, 2016
Dec 19, 2014
Jan 21, 2015
Jun 10, 2015
Sep 10, 2015
Jan 2, 2013
Sep 3, 2016
Dec 12, 2014

Repository files navigation

Waypoints

Waypoints is a library that makes it easy to execute a function whenever you scroll to an element. Build Status

var waypoint = new Waypoint({
  element: document.getElementById('thing'),
  handler: function(direction) {
    alert('You have scrolled to a thing')
  }
})

If you're new to Waypoints, check out the Getting Started guide.

Read the full documentation for more details on usage and customization.

Shortcuts

In addition to the normal Waypoints script, extensions exist to make common UI patterns just a little easier to implement:

Contributing

If you want to report a Waypoints bug or contribute code to the library, please read the Contributing Guidelines. If you need help using Waypoints, please do not open an issue. Instead, ask the question on Stack Overflow and tag it with #jquery-waypoints. Be sure to follow the guidelines for asking a good question.

License

Copyright (c) 2011-2014 Caleb Troughton. Licensed under the MIT license.

About

Waypoints is a library that makes it easy to execute a function whenever you scroll to an element.

Resources

Stars

Watchers

Forks

Packages

No packages published