{"id":19326334,"url":"https://github.com/thisissoon/angular-infinite-scroll","last_synced_at":"2026-03-04T03:31:46.378Z","repository":{"id":35723132,"uuid":"40001408","full_name":"thisissoon/angular-infinite-scroll","owner":"thisissoon","description":"Simple, lightweight infinite scrolling directive for Angular which emits an event when an element has been scrolled to the bottom","archived":false,"fork":false,"pushed_at":"2018-12-04T09:32:02.000Z","size":473,"stargazers_count":7,"open_issues_count":1,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-31T10:08:42.862Z","etag":null,"topics":["angular","directive","infinite-scroll","ngx","ngx-infinite-scroll","ngx-library","scrolling"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/thisissoon.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}},"created_at":"2015-07-31T11:02:22.000Z","updated_at":"2023-07-12T16:39:25.000Z","dependencies_parsed_at":"2022-08-30T20:00:42.341Z","dependency_job_id":null,"html_url":"https://github.com/thisissoon/angular-infinite-scroll","commit_stats":null,"previous_names":["thisissoon/sn-infinite-scroll"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisissoon%2Fangular-infinite-scroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisissoon%2Fangular-infinite-scroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisissoon%2Fangular-infinite-scroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisissoon%2Fangular-infinite-scroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thisissoon","download_url":"https://codeload.github.com/thisissoon/angular-infinite-scroll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223903480,"owners_count":17222551,"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","directive","infinite-scroll","ngx","ngx-infinite-scroll","ngx-library","scrolling"],"created_at":"2024-11-10T02:13:06.198Z","updated_at":"2025-12-12T03:49:08.729Z","avatar_url":"https://github.com/thisissoon.png","language":"TypeScript","readme":"# Angular Infinite Scroll\n\n[![Build Status][circleci-badge]][circleci-badge-url]\n[![Coverage Status][coveralls-badge]][coveralls-badge-url]\n[![Commitizen friendly][commitizen-badge]][commitizen]\n[![code style: prettier][prettier-badge]][prettier-badge-url]\n\nA simple, lightweight infinite scrolling directive for [Angular][angular] which emits an event when an element has been scrolled to the bottom.\n\nThis is a simple library for [Angular][angular], implemented in the [Angular Package Format v5.0](https://docs.google.com/document/d/1CZC2rcpxffTDfRDs6p1cfbmKNLA6x5O-NtkJglDaBVs/edit#heading=h.k0mh3o8u5hx).\n\n## Install\n\n`npm i @thisissoon/angular-infinite-scroll --save`\n\n`app.module.ts`\n\n```ts\nimport { InfiniteScrollModule } from '@thisissoon/angular-infinite-scroll';\n\n@NgModule({\n  imports: [InfiniteScrollModule],\n})\nexport class AppModule {}\n```\n\n## Example\n\nA working example can be found inside [/src](https://github.com/thisissoon/angular-infinite-scroll/tree/master/src) folder\n\n### `app.component.html`\n\n```html\n\u003cdiv\n  class=\"foo\"\n  snInfiniteScroll\n  (scrollEnd)=\"onScrollEnd()\"\n  [offset]=\"100\"\n  [disabled]=\"disabled\"\n\u003e\u003c/div\u003e\n```\n\n### `app.component.ts`\n\n```ts\nexport class AppComponent {\n  onScrollEnd() {\n    // Do something here\n  }\n}\n```\n\n## Options\n\n- `offset` (number): distance in px from bottom of element to trigger `scrollEnd` event (default: 0)\n- `disabled` (boolean): If true directive will not trigger `scrollEnd` event\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n\n## Making Commits\n\nThis repo uses [Commitizen CLI](http://commitizen.github.io/cz-cli/) and [Conventional Changelog](https://github.com/conventional-changelog/conventional-changelog) to create commits and generate changelogs. Instead of running `git commit` run `git cz` and follow the prompts. Changelogs will then be generated when creating new releases by running `npm run release`.\n\n## Making Releases\n\nRun `npm run release` to create a new release. This will use [Standard Version](https://github.com/conventional-changelog/standard-version) to create a new release. [Standard Version](https://github.com/conventional-changelog/standard-version) will generate / update the changelog based on commits generated using [Commitizen CLI](http://commitizen.github.io/cz-cli/), update the version number following semantic versioning rules and then commit and tag the commit for the release. Simply run `git push --follow-tags origin master`.\n\n[circleci-badge]: https://circleci.com/gh/thisissoon/angular-infinite-scroll.svg?style=shield\n[circleci-badge-url]: https://circleci.com/gh/thisissoon/angular-infinite-scroll\n[coveralls-badge]: https://coveralls.io/repos/github/thisissoon/angular-infinite-scroll/badge.svg?branch=master\n[coveralls-badge-url]: https://coveralls.io/github/thisissoon/angular-infinite-scroll?branch=master\n[angular]: https://angular.io/\n[angular-inviewport]: https://github.com/thisissoon/angular-inviewport\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=shield\n[prettier-badge-url]: https://github.com/prettier/prettier\n[commitizen]: http://commitizen.github.io/cz-cli/\n[commitizen-badge]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisissoon%2Fangular-infinite-scroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthisissoon%2Fangular-infinite-scroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisissoon%2Fangular-infinite-scroll/lists"}