{"id":19059342,"url":"https://github.com/sezmars/syncscroll","last_synced_at":"2025-04-24T06:15:25.485Z","repository":{"id":35042570,"uuid":"199902495","full_name":"sezmars/syncscroll","owner":"sezmars","description":"Syncscroll is a micro library rewritten in Angular, which allows to scroll two or more scrollable areas simultaneously. Demo - https://sezmars.github.io/syncscroll","archived":false,"fork":false,"pushed_at":"2023-03-01T16:25:08.000Z","size":3825,"stargazers_count":7,"open_issues_count":13,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-24T06:15:11.815Z","etag":null,"topics":["angular","ngx","ngx-syncscroll","scroll","scrolling","synchronized","syncscroll"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/sezmars.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-07-31T17:41:11.000Z","updated_at":"2023-08-01T11:19:25.000Z","dependencies_parsed_at":"2024-06-21T19:20:53.287Z","dependency_job_id":"bf9e5394-3dfb-4903-892b-f144700046ad","html_url":"https://github.com/sezmars/syncscroll","commit_stats":{"total_commits":30,"total_committers":3,"mean_commits":10.0,"dds":0.4666666666666667,"last_synced_commit":"9e9edf6a233fd17e892e305d24794c483fec0fec"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sezmars%2Fsyncscroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sezmars%2Fsyncscroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sezmars%2Fsyncscroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sezmars%2Fsyncscroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sezmars","download_url":"https://codeload.github.com/sezmars/syncscroll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250573358,"owners_count":21452352,"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","ngx","ngx-syncscroll","scroll","scrolling","synchronized","syncscroll"],"created_at":"2024-11-09T00:08:09.825Z","updated_at":"2025-04-24T06:15:25.462Z","avatar_url":"https://github.com/sezmars.png","language":"HTML","readme":"# ngx-syncscroll\n\n[![NPM version](https://img.shields.io/npm/v/ngx-syncscroll.svg?style=flat)](https://www.npmjs.com/package/ngx-syncscroll) [![NPM monthly downloads](https://img.shields.io/npm/dm/ngx-syncscroll.svg?style=flat)](https://npmjs.org/package/ngx-syncscroll)  [![NPM total downloads](https://img.shields.io/npm/dt/ngx-syncscroll.svg?style=flat)](https://npmjs.org/package/ngx-syncscroll) [![Made with Angular](https://img.shields.io/badge/Made%20with-Angular-E13137.svg)](https://angular.io)\n\nngx-syncscroll is a micro library rewritten in Angular, which allows to scroll two or more scrollable areas simultaneously.\n\nBased on https://github.com/asvd/syncscroll.\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli).\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### OR\n\nGo to [sync-scroll](https://sezmars.github.io/syncscroll/).\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```HTML\n\u003cngx-syncscroll [classSyncScroll]=\"'drag-timeline'\" [dragState]=\"true\" [attributeName]=\"'drag-scroll-timeline'\"\u003e\n      \u003cdiv class=\"dragscroll frame romanian\" [ngClass]=\"'drag-timeline'\"\n           [attr.drag-scroll-timeline]=\"true\"\u003e\n        \u003cimg alt=\"ngx-syncscroll\" src=\"./assets/romanian_timeline.png\"\u003e\n      \u003c/div\u003e\n\n      \u003cdiv class=\"dragscroll frame floss\" [ngClass]=\"'drag-timeline'\"\n           [attr.drag-scroll-timeline]=\"true\"\u003e\n        \u003cimg alt=\"ngx-syncscroll\" src=\"./assets/floss_timeline.png\"\u003e\n      \u003c/div\u003e\n\u003c/ngx-syncscroll\u003e\n```\n\n## Installation\n\n```shell\nnpm install --save ngx-syncscroll\n```\n\n## Usage\n\nAdd `NgxSyncScrollModule` to your list of module imports:\n\n```typescript\nimport { NgxSyncScrollModule } from 'ngx-syncscroll';\n\n@NgModule({\n  declarations: [AppComponent],\n  imports: [BrowserModule, NgxSyncScrollModule],\n  bootstrap: [AppComponent]\n})\nclass AppModule {}\n```\n\nYou can then use the component in your templates:\n\n```typescript\n@Component({\n  selector: 'app',\n  template: `\n    \u003cngx-syncscroll [classSyncScroll]=\"'drag-timeline'\" [dragState]=\"true\" [attributeName]=\"'drag-scroll-timeline'\"\u003e\n          \u003cdiv class=\"dragscroll frame romanian\" [ngClass]=\"'drag-timeline'\"\n               [attr.drag-scroll-timeline]=\"true\"\u003e\n            \u003cimg alt=\"ngx-syncscroll\" src=\"./assets/romanian_timeline.png\"\u003e\n          \u003c/div\u003e\n    \n          \u003cdiv class=\"dragscroll frame floss\" [ngClass]=\"'drag-timeline'\"\n               [attr.drag-scroll-timeline]=\"true\"\u003e\n            \u003cimg alt=\"ngx-syncscroll\" src=\"./assets/floss_timeline.png\"\u003e\n          \u003c/div\u003e\n    \u003c/ngx-syncscroll\u003e\n       `\n})\n```\n\n### Options\n\n| Property name | Type | Default | Description |\n| ------------- | ---- | ------- | ----------- |\n| `dragState` | boolean | `false` | Drag mode for images. |\n| `disableSync` | boolean | `false` | Disables synchronous scrolling. |\n| `attributeName` | string | `null` | Unique attribute name for a block with scrolling. Need to be used with [attr] property for child. |\n| `classSyncScroll` | string | `null` | Unique class name for a block with scrolling. Need to be used with [ngClass] or html class for child. |\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsezmars%2Fsyncscroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsezmars%2Fsyncscroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsezmars%2Fsyncscroll/lists"}