{"id":13535425,"url":"https://github.com/jkuri/ngx-slimscroll","last_synced_at":"2026-02-14T19:04:11.355Z","repository":{"id":3091937,"uuid":"48415300","full_name":"jkuri/ngx-slimscroll","owner":"jkuri","description":"Customizable Scrollbar Directive for Angular","archived":false,"fork":false,"pushed_at":"2023-03-04T02:25:57.000Z","size":7540,"stargazers_count":124,"open_issues_count":78,"forks_count":65,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-09-27T02:00:04.832Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ngx-slimscroll.jankuri.me","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/jkuri.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}},"created_at":"2015-12-22T06:44:18.000Z","updated_at":"2023-10-17T11:41:31.000Z","dependencies_parsed_at":"2023-07-06T09:01:52.036Z","dependency_job_id":null,"html_url":"https://github.com/jkuri/ngx-slimscroll","commit_stats":{"total_commits":79,"total_committers":12,"mean_commits":6.583333333333333,"dds":0.3291139240506329,"last_synced_commit":"79c48dc7394b449042ac52be12c3124928908376"},"previous_names":["jkuri/angular2-slimscroll","jkuri/ng2-slimscroll"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jkuri/ngx-slimscroll","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkuri%2Fngx-slimscroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkuri%2Fngx-slimscroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkuri%2Fngx-slimscroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkuri%2Fngx-slimscroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkuri","download_url":"https://codeload.github.com/jkuri/ngx-slimscroll/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkuri%2Fngx-slimscroll/sbom","scorecard":{"id":522854,"data":{"date":"2025-08-11","repo":{"name":"github.com/jkuri/ngx-slimscroll","commit":"79c48dc7394b449042ac52be12c3124928908376"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.6,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:7: pin your Docker image by updating alpine:latest to alpine:latest@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Info:   0 out of   2 containerImage 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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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 2 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":"101 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-c75v-2vq8-878f","Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-whgm-jr23-g3j9","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-q8pj-2vqx-8ggc","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-3wcq-x3mq-6r9p","Warn: Project is vulnerable to: GHSA-273r-mgr4-v34f","Warn: Project is vulnerable to: GHSA-r7qp-cfhv-p84w","Warn: Project is vulnerable to: GHSA-6h5x-7c5m-7cr7","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-cj88-88mr-972w","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-c7qv-q95q-8v27","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-jg8v-48h5-wgxg","Warn: Project is vulnerable to: GHSA-36fh-84j7-cv5h","Warn: Project is vulnerable to: GHSA-7x7c-qm48-pq9c","Warn: Project is vulnerable to: GHSA-rc3x-jf5g-xvc5","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-82v2-mx6x-wq7q","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-qrpm-p2h7-hrv2","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-5rrq-pxf6-6jx5","Warn: Project is vulnerable to: GHSA-8fr3-hfg3-gpgp","Warn: Project is vulnerable to: GHSA-gf8q-jrpm-jvxq","Warn: Project is vulnerable to: GHSA-2r2c-g63r-vccr","Warn: Project is vulnerable to: GHSA-cfm4-qjh2-4765","Warn: Project is vulnerable to: GHSA-x4jg-mjrx-434g","Warn: Project is vulnerable to: GHSA-px4h-xg32-q955","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-566m-qj78-rww5","Warn: Project is vulnerable to: GHSA-hwj9-h5mp-3pm3","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-25hc-qcg6-38wj","Warn: Project is vulnerable to: GHSA-qm95-pgcg-qqfq","Warn: Project is vulnerable to: GHSA-cqmj-92xf-r6r9","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-38fc-wpqx-33j7","Warn: Project is vulnerable to: GHSA-fhg7-m89q-25r3","Warn: Project is vulnerable to: GHSA-hh27-ffr2-f2jc","Warn: Project is vulnerable to: GHSA-rqff-837h-mm52","Warn: Project is vulnerable to: GHSA-8v38-pw62-9cw2","Warn: Project is vulnerable to: GHSA-hgjh-723h-mx2j","Warn: Project is vulnerable to: GHSA-jf5r-8hm2-f872","Warn: Project is vulnerable to: GHSA-hc6q-2mpp-qw7j","Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986","Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h","Warn: Project is vulnerable to: GHSA-g78m-2chm-r7qv","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-776f-qx25-q3cc","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh"],"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-20T03:30:01.222Z","repository_id":3091937,"created_at":"2025-08-20T03:30:01.222Z","updated_at":"2025-08-20T03:30:01.222Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29452615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"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":[],"created_at":"2024-08-01T08:00:55.918Z","updated_at":"2026-02-14T19:04:11.334Z","avatar_url":"https://github.com/jkuri.png","language":"TypeScript","funding_links":[],"categories":["Uncategorized","TypeScript"],"sub_categories":["Uncategorized"],"readme":"# ngx-slimscroll\n\n***ngx-slimscroll*** is a customizable scrollbar directive for Angular2+.\n\nMake scrollbar looks identical in any browser and any os.\n\n## Demo\n\n[http://ngx-slimscroll.jankuri.com](http://ngx-slimscroll.jankuri.com)\n\n## Run Demo Locally\n\n```sh\ngit clone https://github.com/jkuri/ngx-slimscroll.git\nnpm install\nnpm start\n```\n\n## Installation:\n\n```bash\nyarn add ngx-slimscroll # or npm install ngx-slimscroll\n```\n\n## Use Example:\n\n```ts\n// app.module.ts\nimport { BrowserModule } from '@angular/platform-browser';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AppComponent } from './app.component';\nimport { NgSlimScrollModule, SLIMSCROLL_DEFAULTS } from 'ngx-slimscroll';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n    CommonModule,\n    NgSlimScrollModule\n  ],\n  providers: [\n    // OPTIONAL : provide default global settings which will be merge with component options.\n    {\n      provide: SLIMSCROLL_DEFAULTS,\n      useValue: {\n        alwaysVisible : false\n      } as ISlimScrollOptions\n    },\n  ],\n  bootstrap: [ AppComponent ]\n})\nexport class AppModule { }\n\n// app.component.ts\nimport { AppComponent, OnInit, EventEmitter } from '@angular/core';\nimport { SlimScrollOptions, SlimScrollEvent } from 'ngx-slimscroll';\n\n@Component({\n  selector: 'app-root',\n  template: `\u003cdiv slimScroll [options]=\"opts\" [scrollEvents]=\"scrollEvents\"\u003e\u003c/div\u003e`\n})\nexport class AppComponent implements OnInit {\n  opts: SlimScrollOptions;\n  scrollEvents: EventEmitter\u003cSlimScrollEvent\u003e;\n\n  ngOnInit() {\n    this.scrollEvents = new EventEmitter\u003cSlimScrollEvent\u003e();\n    this.opts = new SlimScrollOptions({\n      position?: 'left' | 'right';\n      barBackground?: string; // #C9C9C9\n      barOpacity?: string; // 0.8\n      barWidth?: string; // 10\n      barBorderRadius?: string; // 20\n      barMargin?: string; // 0\n      gridBackground?: string; // #D9D9D9\n      gridOpacity?: string; // 1\n      gridWidth?: string; // 2\n      gridBorderRadius?: string; // 20\n      gridMargin?: string; // 0\n      alwaysVisible?: boolean; // true\n      visibleTimeout?: number; // 1000\n      scrollSensitivity?: number; // 1\n      alwaysPreventDefaultScroll?: boolean; // true\n    });\n\n    this.play();\n  }\n\n  play(): void {\n    let event = null;\n\n    Promise.resolve()\n      .then(() =\u003e this.timeout(3000))\n      .then(() =\u003e {\n        event = new SlimScrollEvent({\n          type: 'scrollToBottom',\n          duration: 2000,\n          easing: 'inOutQuad'\n        });\n\n        this.scrollEvents.emit(event);\n      })\n      .then(() =\u003e this.timeout(3000))\n      .then(() =\u003e {\n        event = new SlimScrollEvent({\n          type: 'scrollToTop',\n          duration: 3000,\n          easing: 'outCubic'\n        });\n\n        this.scrollEvents.emit(event);\n      })\n      .then(() =\u003e this.timeout(4000))\n      .then(() =\u003e {\n        event = new SlimScrollEvent({\n          type: 'scrollToPercent',\n          percent: 80,\n          duration: 1000,\n          easing: 'linear'\n        });\n\n        this.scrollEvents.emit(event);\n      })\n      .then(() =\u003e this.timeout(2000))\n      .then(() =\u003e {\n        event = new SlimScrollEvent({\n          type: 'scrollTo',\n          y: 200,\n          duration: 4000,\n          easing: 'inOutQuint'\n        });\n\n        this.scrollEvents.emit(event);\n      });\n  }\n\n  timeout(ms: number): Promise\u003cvoid\u003e {\n    return new Promise(resolve =\u003e setTimeout(() =\u003e resolve(), ms));\n  }\n}\n\n// app.component.html\n\u003cdiv class=\"scroll-window\" slimScroll [options]=\"opts\" [scrollEvents]=\"scrollEvents\"\u003e\n  \u003cp\u003eLong content\u003c/p\u003e\n\u003c/div\u003e\n```\n\n## Disabling the scrollbar directive\n\nThere is an input of the directive `enabled` defaults to `true`. Some users may want to control the scrollbar availability by some external condition. You can use the `enabled` input.\n\n```html\n\u003cdiv class=\"scroll-window\" slimScroll [enabled]=\"externalCondition\" [options]=\"opts\"\u003e\n  \u003cp\u003eLong content\u003c/p\u003e\n\u003c/div\u003e\n```\n\n## Options\n\n```ts\nexport interface ISlimScrollOptions {\n  position?: 'left' | 'right';\n  barBackground?: string;\n  barOpacity?: string;\n  barWidth?: string;\n  barBorderRadius?: string;\n  barMargin?: string;\n  gridBackground?: string;\n  gridOpacity?: string;\n  gridWidth?: string;\n  gridBorderRadius?: string;\n  gridMargin?: string;\n  alwaysVisible?: boolean;\n  visibleTimeout?: number;\n  alwaysPreventDefaultScroll?: boolean;\n}\n```\n**Description:**\n- `position`: The position of the scroll bar (default: `right`).\n- `barBackground`: The background color of the scroll bar (default: `#343a40`).\n- `barOpacity`: Defines the opacity of the scroll bar (default: `1`).\n- `barWidth`: Customize the width of the scroll bar (default: `12` px).\n- `barBorderRadius`: The border radius of the scroll bar (default: `5` px).\n- `barMargin`: The margin of the scroll bar. Supports the CSS-Style spelling (default: `1px 0`).\n- `gridBackground`: The background color of the grid (the line on which the scroll bar is arranged; default: `#adb5bd`).\n- `gridOpacity`: The opacity of the grid (default: `1`).\n- `gridWidth`: The width of the grid (default: `8` px).\n- `gridBorderRadius`: The border radius of the grid (default: `10` px).\n- `gridMargin`: The margin of the grid. Supports the CSS-Style spelling (default: `1px 2px`).\n- `alwaysVisible`: If this option is enabled the scroll bar is displayed permanently, otherwise it will be faded out after the visible timeout (default: `true`).\n- `visibleTimeout`: Represents the time the scroll bar is shown (default: `1000` ms). ***Hint**: It is necessary to set the option `alwaysVisible` to `false`*.\n- `alwaysPreventDefaultScroll`: Disable this flag to forward the scroll event if top or bottom of the slimscroll container is reached (default: `true`)\n\n## Global Default Options\n\nYou can provide global default options. You achieve this by defining a provider in your AppModule using `SCRIMSCROLL_DEFAULTS` [injection token](https://angular.io/guide/dependency-injection#ngmodule-providers).\n\nExample:\n\n```typescript\n@NgModule({\n  // Omitted for brevity\n  providers: [\n    {\n      provide: SLIMSCROLL_DEFAULTS,\n      useValue: {\n        alwaysVisible: false,\n        gridOpacity: '0.2',\n        barOpacity: '0.5',\n        gridBackground: '#c2c2c2',\n        gridWidth: '6',\n        gridMargin: '2px 2px',\n        barBackground: '#2C3E50',\n        barWidth: '6',\n        barMargin: '2px 2px'\n      } as ISlimScrollOptions\n    }\n   // other providers\n   ]\n  ]\n})\nexport class AppModule { }\n```\n\n## SlimScroll Event\n\n```ts\nexport interface ISlimScrollEvent {\n  type: 'scrollToBottom' | 'scrollToTop' | 'scrollToPercent' | 'scrollTo' | 'recalculate' | 'lock' | 'unlock';\n  y?: number;\n  duration?: number;\n  easing?: 'linear' | 'inQuad' | 'outQuad' | 'inOutQuad' | 'inCubic' | 'outCubic' | 'inOutCubic' |\n  'inQuart' | 'outQuart' | 'inOutQuart' | 'inQuint' | 'outQuint' | 'inOutQuint';\n}\n```\n\nAnd you could be notified for the visibility change event of the scrollbar via `barVisibilityChange`.\n`true` for being visible, `false` for being invisible. For example:\n\n```html\n\u003cdiv slimscoll (barVisibilityChange)=\"doSomething($event)\"\u003e\u003c/div\u003e\n```\n\n## Tests\n\n```sh\nnpm test\n```\n\n## Author\n\n[Jan Kuri](http://www.jankuri.com)\n\n## Licence\n\nThis project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkuri%2Fngx-slimscroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkuri%2Fngx-slimscroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkuri%2Fngx-slimscroll/lists"}