imakewebthings/waypoints

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

JavaScript

10,300

248 commits

updated Nov 18, 2022

See the code

README

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.

imakewebthings/waypoints

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

JavaScript

10,300

248 commits

updated Nov 18, 2022

See the code

README

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.

Project health

Overall

2.2/10

Maintained

0/10

Code review

2/10
OpenSSF Scorecard

Latest release

4.0.1 · Sep 3, 2016

Releases this year

0

Significant stargazers

(top 24 of 37)

Orta Therox

6,294 followers · starred Jan 2011

Timothy Gu

1,080 followers · starred Aug 2016

Bernát Gábor

633 followers · starred Mar 2015

Chris Wanstrath

22,861 followers · starred Jan 2011