{"id":37173809,"url":"https://github.com/haidarz/ng-mat-select-infinite-scroll","last_synced_at":"2026-01-14T20:18:45.916Z","repository":{"id":35025868,"uuid":"171062640","full_name":"HaidarZ/ng-mat-select-infinite-scroll","owner":"HaidarZ","description":"Infinite Scroll directive for angular material select component ","archived":false,"fork":false,"pushed_at":"2025-06-26T14:03:34.000Z","size":1122,"stargazers_count":50,"open_issues_count":13,"forks_count":20,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-04T05:57:37.166Z","etag":null,"topics":["angular","angular-material","infinite","infinite-scroll","mat-select","material","scroll","select"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/ng-mat-select-infinite-scroll","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/HaidarZ.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-16T23:25:29.000Z","updated_at":"2025-07-24T14:35:53.000Z","dependencies_parsed_at":"2024-06-18T16:41:48.335Z","dependency_job_id":"e3eaedd4-af90-4e5f-8d80-6c0efc03a3a0","html_url":"https://github.com/HaidarZ/ng-mat-select-infinite-scroll","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/HaidarZ/ng-mat-select-infinite-scroll","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaidarZ%2Fng-mat-select-infinite-scroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaidarZ%2Fng-mat-select-infinite-scroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaidarZ%2Fng-mat-select-infinite-scroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaidarZ%2Fng-mat-select-infinite-scroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HaidarZ","download_url":"https://codeload.github.com/HaidarZ/ng-mat-select-infinite-scroll/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaidarZ%2Fng-mat-select-infinite-scroll/sbom","scorecard":{"id":60806,"data":{"date":"2025-08-11","repo":{"name":"github.com/HaidarZ/ng-mat-select-infinite-scroll","commit":"b9c9e407a1d2189fe0883e261f3839f59cacc0d8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/npmpublish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":1,"reason":"Found 4/24 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npmpublish.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/HaidarZ/ng-mat-select-infinite-scroll/npmpublish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npmpublish.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/HaidarZ/ng-mat-select-infinite-scroll/npmpublish.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v4.0.0 not signed: https://api.github.com/repos/HaidarZ/ng-mat-select-infinite-scroll/releases/75259762","Warn: release artifact v3.0.1 not signed: https://api.github.com/repos/HaidarZ/ng-mat-select-infinite-scroll/releases/53045052","Warn: release artifact v4.0.0 does not have provenance: https://api.github.com/repos/HaidarZ/ng-mat-select-infinite-scroll/releases/75259762","Warn: release artifact v3.0.1 does not have provenance: https://api.github.com/repos/HaidarZ/ng-mat-select-infinite-scroll/releases/53045052"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-4www-5p9h-95mh","Warn: Project is vulnerable to: GHSA-9gqv-wp59-fq42","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-15T01:39:37.136Z","repository_id":35025868,"created_at":"2025-08-15T01:39:37.136Z","updated_at":"2025-08-15T01:39:37.136Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-material","infinite","infinite-scroll","mat-select","material","scroll","select"],"created_at":"2026-01-14T20:18:45.347Z","updated_at":"2026-01-14T20:18:45.909Z","avatar_url":"https://github.com/HaidarZ.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Angular Material Select Infinite Scroll  \n\nAdds missing infinite scroll functionality for the [Angular Material Select component](https://material.angular.io/components/select).  \n\n### Inputs  \n\n| Property       | Description                                                                                                                                                                                                                  | Type      | Default    |  \n| -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------| ---------- |  \n| `complete`     | If `true`, the `infiniteScroll` output will no longer be triggered.                                                                                                                                                          | `boolean` | `false`    |  \n| `threshold`    | The threshold distance from the bottom of the options list to call the `infiniteScroll` output event when scrolled. The threshold value can be either in percent or pixels. For example, `10%` triggers the event 10% before the bottom. | `string`  | `'15%'`    |  \n| `debounceTime` | The threshold time (in milliseconds) before firing the `infiniteScroll` event.                                                                                                                                               | `number`  | `150`      |  \n\n### Outputs  \n\n| Property         | Description                                                                             | Type                  |  \n| ----------------- | --------------------------------------------------------------------------------------- | --------------------- |  \n| `infiniteScroll`  | Emitted when the scroller inside the `mat-select` reaches the required distance.        | `EventEmitter\u003cvoid\u003e`  |  \n\n### Installation  \n\n```bash\nnpm i ng-mat-select-infinite-scroll\n```\n\n### Usage  \n\n[StackBlitz working example](https://stackblitz.com/edit/ng-mat-select-infinite-scroll)  \n\nImport `MatSelectInfiniteScrollModule` inside the `app.module.ts`:  \n```typescript\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatSelectModule } from '@angular/material/select';\nimport { MatSelectInfiniteScrollModule } from 'ng-mat-select-infinite-scroll';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n    BrowserAnimationsModule,\n    MatFormFieldModule,\n    MatSelectModule,\n    MatSelectInfiniteScrollModule\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule {}\n```\n\nThen, place the `msInfiniteScroll` directive on the `mat-select` component:  \n```html\n\u003cmat-form-field appearance=\"outline\"\u003e\n  \u003cmat-label\u003eSelect\u003c/mat-label\u003e\n  \u003cmat-select msInfiniteScroll (infiniteScroll)=\"getNextBatch()\" [complete]=\"offset === data.length\"\u003e\n    \u003cmat-option *ngFor=\"let option of options$ | async\" [value]=\"option\"\u003e{{option}}\u003c/mat-option\u003e\n  \u003c/mat-select\u003e\n\u003c/mat-form-field\u003e\n```\n\n\u003e **Note:**  \n\u003e Update the `complete` property when the loaded data reaches the total available data to avoid unnecessary scroll triggers.  \n\u003e For older versions of Angular (\u003c15), use version 4 of this library.\n\n### Compatibility  \n\nThis library supports Angular 15 and higher.  \n* `@angular/core`: `\u003e=15.0.0 \u003c16`  \n* `@angular/cdk`: `\u003e=15.0.0 \u003c16`  \n* `@angular/material`: `\u003e=15.0.0 \u003c16`  \n* `rxjs`: `^7.0.0`  \n\n### Contributions  \n\nContributions are welcome! Feel free to open a Pull Request or create a new issue.  \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 source files.  \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 unit tests via [Karma](https://karma-runner.github.io).  \n\n### License  \n\n[MIT](LICENSE)  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaidarz%2Fng-mat-select-infinite-scroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaidarz%2Fng-mat-select-infinite-scroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaidarz%2Fng-mat-select-infinite-scroll/lists"}