# jquery-on-infinite-scroll

> Callback when you reach the bottom of the page and ajax requests finish. Useful as an infinite scroll callback.

Latest version **1.0.1** (published 2016-05-05) · 0 weekly downloads

## Install

```sh
npm install jquery-on-infinite-scroll
pnpm add jquery-on-infinite-scroll
yarn add jquery-on-infinite-scroll
bun add jquery-on-infinite-scroll
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-05-05 |
| First published | 2014-06-27 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.10.x |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Craig Spaeth |
| Maintainers | craigspaeth |
| Keywords | scroll, infinite, infinite scroll, iframe |

## Links

- npm: https://www.npmjs.com/package/jquery-on-infinite-scroll
- Repository: https://github.com/artsy/jquery-on-infinite-scroll
- Homepage: https://github.com/artsy/jquery-on-infinite-scroll#readme
- Issues: https://github.com/artsy/jquery-on-infinite-scroll/issues
- npm.io page: https://npm.io/package/jquery-on-infinite-scroll

## Recent versions

- 1.0.1 (latest) — 2016-05-05
- 1.0.0 — 2016-01-14
- 0.0.1 — 2014-06-27

## README

# jQuery.onInfiniteScroll

Callback when you reach the bottom of the page and ajax requests finish. Useful as an infinite scroll callback.

## Example

````javascript
$.onInfiniteScroll(function() {
    // Fetch & append some content
});

$.onInfiniteScroll(function() {
    // Pass an optional offset from the page bottom at which to trigger the callback.
}, { offset: 100 });

// Remove the event listeners.
$.destroyInfiniteScroll();
````

## Contributing

Please fork the project and submit a pull request with tests. Install node modules `npm install` and run tests with `make test`.

## License

MIT

---
_Source: https://npm.io/package/jquery-on-infinite-scroll · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
