PHPackages                             levmyshkin/waypoints - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. levmyshkin/waypoints

ActiveDrupal-library[Utility &amp; Helpers](/categories/utility)

levmyshkin/waypoints
====================

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

4.0.1(3y ago)024.9k↓18.8%MITJavaScript

Since Sep 2Pushed 3y agoCompare

[ Source](https://github.com/levmyshkin/waypoints)[ Packagist](https://packagist.org/packages/levmyshkin/waypoints)[ RSS](/packages/levmyshkin-waypoints/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Waypoints
=========

[](#waypoints)

Waypoints is a library that makes it easy to execute a function whenever you scroll to an element. [![Build Status](https://camo.githubusercontent.com/8d96e2c928abcbd03eac001e49504c71c4860deebffc9bf52f70ef74c4bb1b6c/68747470733a2f2f7472617669732d63692e6f72672f696d616b657765627468696e67732f776179706f696e74732e737667)](https://camo.githubusercontent.com/8d96e2c928abcbd03eac001e49504c71c4860deebffc9bf52f70ef74c4bb1b6c/68747470733a2f2f7472617669732d63692e6f72672f696d616b657765627468696e67732f776179706f696e74732e737667)

```
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](http://imakewebthings.com/waypoints/guides/getting-started) guide.

[Read the full documentation](http://imakewebthings.com/waypoints/api/waypoint) for more details on usage and customization.

Shortcuts
---------

[](#shortcuts)

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

- [Infinite Scrolling](http://imakewebthings.com/waypoints/shortcuts/infinite-scroll)
- [Sticky Elements](http://imakewebthings.com/waypoints/shortcuts/sticky-elements)
- [Inview Detection](http://imakewebthings.com/waypoints/shortcuts/inview)

Contributing
------------

[](#contributing)

If you want to report a Waypoints bug or contribute code to the library, please read the [Contributing Guidelines](https://github.com/imakewebthings/waypoints/blob/master/CONTRIBUTING.md). If you need help *using* Waypoints, please do not open an issue. Instead, ask the question on [Stack Overflow](http://stackoverflow.com) and tag it with `#jquery-waypoints`. Be sure to follow the guidelines for [asking a good question](http://stackoverflow.com/help/how-to-ask).

License
-------

[](#license)

Copyright (c) 2011-2014 Caleb Troughton. Licensed under the [MIT license](https://github.com/imakewebthings/waypoints/blob/master/licenses.txt).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1354d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b36520942f79193ba42311edf66bce9654c126a2d6733a5b3a627a4a217229f?d=identicon)[levmyshkin](/maintainers/levmyshkin)

---

Top Contributors

[![imakewebthings](https://avatars.githubusercontent.com/u/406639?v=4)](https://github.com/imakewebthings "imakewebthings (218 commits)")[![busticated](https://avatars.githubusercontent.com/u/367674?v=4)](https://github.com/busticated "busticated (5 commits)")[![lsthornt](https://avatars.githubusercontent.com/u/569689?v=4)](https://github.com/lsthornt "lsthornt (3 commits)")[![Adam-S-Daniel](https://avatars.githubusercontent.com/u/4205216?v=4)](https://github.com/Adam-S-Daniel "Adam-S-Daniel (3 commits)")[![knuton](https://avatars.githubusercontent.com/u/47458?v=4)](https://github.com/knuton "knuton (2 commits)")[![cduez](https://avatars.githubusercontent.com/u/2538928?v=4)](https://github.com/cduez "cduez (2 commits)")[![CHH](https://avatars.githubusercontent.com/u/16783?v=4)](https://github.com/CHH "CHH (2 commits)")[![ideasasylum](https://avatars.githubusercontent.com/u/14988?v=4)](https://github.com/ideasasylum "ideasasylum (1 commits)")[![ivan829llc](https://avatars.githubusercontent.com/u/132590440?v=4)](https://github.com/ivan829llc "ivan829llc (1 commits)")[![kkirsche](https://avatars.githubusercontent.com/u/947110?v=4)](https://github.com/kkirsche "kkirsche (1 commits)")[![booleanbetrayal](https://avatars.githubusercontent.com/u/981825?v=4)](https://github.com/booleanbetrayal "booleanbetrayal (1 commits)")[![lencioni](https://avatars.githubusercontent.com/u/195534?v=4)](https://github.com/lencioni "lencioni (1 commits)")[![al](https://avatars.githubusercontent.com/u/10687?v=4)](https://github.com/al "al (1 commits)")[![MathieuDoyon](https://avatars.githubusercontent.com/u/1854511?v=4)](https://github.com/MathieuDoyon "MathieuDoyon (1 commits)")[![oskarrough](https://avatars.githubusercontent.com/u/184567?v=4)](https://github.com/oskarrough "oskarrough (1 commits)")[![robharper](https://avatars.githubusercontent.com/u/900789?v=4)](https://github.com/robharper "robharper (1 commits)")[![rochefort](https://avatars.githubusercontent.com/u/121045?v=4)](https://github.com/rochefort "rochefort (1 commits)")[![rtpHarry](https://avatars.githubusercontent.com/u/1038062?v=4)](https://github.com/rtpHarry "rtpHarry (1 commits)")[![timkelty](https://avatars.githubusercontent.com/u/18329?v=4)](https://github.com/timkelty "timkelty (1 commits)")[![wangyuhere](https://avatars.githubusercontent.com/u/507117?v=4)](https://github.com/wangyuhere "wangyuhere (1 commits)")

### Embed Badge

![Health badge](/badges/levmyshkin-waypoints/health.svg)

```
[![Health](https://phpackages.com/badges/levmyshkin-waypoints/health.svg)](https://phpackages.com/packages/levmyshkin-waypoints)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
