{"id":13808772,"url":"https://github.com/robingenz/ngx-infinite-scroll","last_synced_at":"2025-06-26T13:36:09.890Z","repository":{"id":38314674,"uuid":"380034460","full_name":"robingenz/ngx-infinite-scroll","owner":"robingenz","description":"📜 Angular directive for infinite scrolling. ","archived":false,"fork":false,"pushed_at":"2023-10-20T06:54:13.000Z","size":3036,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-21T12:47:47.242Z","etag":null,"topics":["angular","infinite-scroll","ngx"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robingenz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-24T19:46:38.000Z","updated_at":"2024-10-19T11:01:23.000Z","dependencies_parsed_at":"2024-06-03T14:48:59.656Z","dependency_job_id":"3fc6004e-6c62-4f5a-a18a-0588556c72ed","html_url":"https://github.com/robingenz/ngx-infinite-scroll","commit_stats":{"total_commits":50,"total_committers":2,"mean_commits":25.0,"dds":"0.30000000000000004","last_synced_commit":"623acb79bef6b43eb73485b7b8f82c2da927a1ae"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/robingenz/ngx-infinite-scroll","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robingenz%2Fngx-infinite-scroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robingenz%2Fngx-infinite-scroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robingenz%2Fngx-infinite-scroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robingenz%2Fngx-infinite-scroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robingenz","download_url":"https://codeload.github.com/robingenz/ngx-infinite-scroll/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robingenz%2Fngx-infinite-scroll/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262077102,"owners_count":23255116,"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","infinite-scroll","ngx"],"created_at":"2024-08-04T01:01:51.521Z","updated_at":"2025-06-26T13:36:09.866Z","avatar_url":"https://github.com/robingenz.png","language":"TypeScript","funding_links":[],"categories":["Third Party Components"],"sub_categories":["Scroll"],"readme":"# ngx-infinite-scroll\n\n[![npm (version)](https://img.shields.io/npm/v/@robingenz/ngx-infinite-scroll)](https://www.npmjs.com/package/@robingenz/ngx-infinite-scroll)\n[![npm (downloads)](https://img.shields.io/npm/dw/@robingenz/ngx-infinite-scroll)](https://www.npmjs.com/package/@robingenz/ngx-infinite-scroll)\n\n📜 Angular directive for infinite scrolling.\n\n## Installation\n\n```bash\nnpm install @robingenz/ngx-infinite-scroll\n```\n\nImport the `InfiniteScrollModule`:\n\n```ts\nimport { InfiniteScrollModule } from '@robingenz/ngx-infinite-scroll';\n\n@NgModule({\n  imports: [InfiniteScrollModule],\n})\nexport class AppModule {}\n```\n\n## Usage\n\n```html\n\u003cdiv\n  infiniteScroll\n  infiniteScrollThreshold=\"150px\"\n  [infiniteScrollDisabled]=\"false\"\n  (onInfiniteScroll)=\"loadMoreItems()\"\n\u003e\n  \u003cdiv *ngFor=\"let item of items\"\u003e{{ item }}\u003c/div\u003e\n\u003c/div\u003e\n```\n\n## API\n\n### Properties\n\n| Name                    | Type    | Required | Default | Details                                                                                                                                                          |\n| ----------------------- | ------- | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| infiniteScrollThreshold | string  | ✕        | 200px   | The threshold distance from the bottom of the element to call the `onInfiniteScroll` output event when scrolled.The value can be either a percent, or in pixels. |\n| infiniteScrollDisabled  | boolean | ✕        | false   | If `true`, the infinite scroll event listeners will be removed.                                                                                                  |\n\n### Events\n\n| Name | Type | Details |\n|----------|------|---------|\n|onInfiniteScroll|void|Emitted when the scroll reaches the threshold distance.|\n\n## Example\n\nA working example can be found [here](https://stackblitz.com/github/robingenz/ngx-infinite-scroll).\n\n## Changelog\n\nSee [CHANGELOG.md](https://github.com/robingenz/ngx-infinite-scroll/blob/main/CHANGELOG.md).\n\n## License\n\nSee [LICENSE](https://github.com/robingenz/ngx-infinite-scroll/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobingenz%2Fngx-infinite-scroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobingenz%2Fngx-infinite-scroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobingenz%2Fngx-infinite-scroll/lists"}