{"id":16978680,"url":"https://github.com/srph/angular-infinite-scroll","last_synced_at":"2025-04-15T00:16:29.751Z","repository":{"id":27058866,"uuid":"30524767","full_name":"srph/angular-infinite-scroll","owner":"srph","description":"A simple infinite scroll solution for AngularJS","archived":false,"fork":false,"pushed_at":"2015-03-01T10:35:27.000Z","size":436,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T00:16:13.886Z","etag":null,"topics":["angular","angular-directive"],"latest_commit_sha":null,"homepage":"https://srph.github.io/angular-infinite-scroll","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srph.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-09T07:57:11.000Z","updated_at":"2017-02-08T15:43:53.000Z","dependencies_parsed_at":"2022-08-31T04:22:48.840Z","dependency_job_id":null,"html_url":"https://github.com/srph/angular-infinite-scroll","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srph%2Fangular-infinite-scroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srph%2Fangular-infinite-scroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srph%2Fangular-infinite-scroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srph%2Fangular-infinite-scroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srph","download_url":"https://codeload.github.com/srph/angular-infinite-scroll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248981268,"owners_count":21193147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angular-directive"],"created_at":"2024-10-14T01:44:00.280Z","updated_at":"2025-04-15T00:16:29.734Z","avatar_url":"https://github.com/srph.png","language":"JavaScript","readme":"# angular-infinite-scroll\n\n[![Build Status](https://travis-ci.org/srph/angular-infinite-scroll.svg?branch=master)](https://travis-ci.org/srph/angular-infinite-scroll) [![Bower version](https://badge.fury.io/bo/angular-srph-infinite-scroll.svg)](http://badge.fury.io/bo/angular-srph-infinite-scroll) [![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT) [![SemVer](http://img.shields.io/badge/semver-2.0.0-brightgreen.svg)](http://semver.org/spec/v2.0.0.html) [![Author | Shields.io](http://img.shields.io/badge/author-%40srph-blue.svg?style=flat-square)](http://twitter.com/_srph)\n\nA simple infinite scroll solution for AngularJS weighing \u003c ```1 KB``` (minified).\n\n## Content\n\n- [Getting Started](#getting-started)\n  - [Installation](#installation)\n  - [Usage](#usage)\n  - [API](#api)\n  - [Examples](#examples)\n- [Support](#support)\n- [Contribution](#contributing)\n  - [Building](#building)\n- [Alternatives](#alternatives)\n- [Changelogs](#changelogs)\n\n## Getting Started\n\nGetting started is very easy!\n\n**Requirements**\n\n- AngularJS ```\u003e=v1.2.0``` (Should work with)\n- jQuery (at least) ```\u003e=v.1.7``` (Planned in the future to be removed)\n\n### Installation\n\n```angular-infinite-scroll``` is available on [**Bower**]:\n\n```\n$ bower install angular-srph-infinite-scroll --save\n```\n\n\\* *The purpose of the ```--save``` argument is to add it your bower file's dependencies.*\n\n```angular-infinite-scroll``` is also available on [**CDN**(s)]:\n\n- **Raw GIT**\n```html\n\u003cscript src=\"https://cdn.rawgit.com/srph/angular-infinite-scroll/master/dist/angular-srph-infinite-scroll.js\"\u003e\u003c/script\u003e\n\u003c!-- min --\u003e\n\u003cscript src=\"https://cdn.rawgit.com/srph/angular-infinite-scroll/master/dist/angular-srph-infinite-scroll.min.js\"\u003e\u003c/script\u003e\n```\n\n**Include the script to your HTML file after jQuery and AngularJS (*must be in proper order*).**\n\n```html\n\u003c!-- other scripts --\u003e\n\u003cscript src=\"/path/to/jquery.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"/path/to/angular.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"/path/to/angular-srph-infinite-scroll.js\"\u003e\u003c/script\u003e\n```\n\n**Add the library module to one of your app module's dependencies.**\n\n```js\nangular.module('myApp', [/** other dependencies */, 'srph.infinite-scroll']);\n```\n\n### Usage\n\nUse the directive on a container element.\n\n```html\n\u003cdiv srph-infinite-scroll=\"callback()\"\n  {disabled=\"true\"}\n  {container=\"true\"}\n  {throttle=\"0\"}\n  {threshold=\"200\"}\u003e\n  \u003c!-- your ng-repeat, typically --\u003e\n  \u003cdiv ng-repeat=\"apple in apples\"\u003e {{ apple.name }} \u003c/div\u003e\n\u003c/div\u003e\n```\n\n\\* The `{ .. }` enclosures indicate that the parameter is optional.\n\n### API\n\nHead over to the [API Documentation](https://github.com/srph/angular-infinite-scroll/blob/master/docs/api.md) to see accepted parameters, and how to use each.\n\n### Examples\n\nHead over to the [examples page](http://srph.github.io/angular-infinite-scroll/) to help you get started!\n\n## Contribution\n\nAll contributions are appreciated. Please simply file an issue first for any inquiry, proposal, or question to avoid closed pull-requests; useless work. Thanks!\n\n```\n=========      ================\n| issue |  -\u003e  | pull-request |\n=========      ================\n```\n\nPull-requests with test or without are both appreciated!\n\n### Building\n\nPlease check [`docs/building`](https://github.com/srph/angular-infinite-scroll/edit/master/README.md)\n\n## Alternatives\n\n- [ng-scroller (`jankuca/ng-scroller`)](https://github.com/jankuca/ng-scroller)\n- [ngInfiniteScroll (`sroze/ngInfiniteScroll`)](https://github.com/sroze/ngInfiniteScroll)\n- [lrInfiniteScroll (`lorenzofox3/lrInfiniteScroll`](https://github.com/lorenzofox3/lrInfiniteScroll)\n\n## Changelogs\n\nSee the [CHANGELOGS.md](https://github.com/srph/angular-infinite-scroll/blob/master/docs/CHANGELOG.md)\n\n## Acknowledgement\n\nPrimarily motivated and almost based on [sroze/ngInfiniteScroll](https://github.com/sroze/ngInfiniteScroll).\n\n**angular-infinite-scroll** © 2014+, Kier Borromeo (srph). Released under the [MIT](http://mit-license.org/) License.\u003cbr\u003e\n\n\u003e [srph.github.io](http://srph.github.io) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e GitHub [@srph](https://github.com/srph) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e Twitter [@_srph](https://twitter.com/_srph)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrph%2Fangular-infinite-scroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrph%2Fangular-infinite-scroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrph%2Fangular-infinite-scroll/lists"}