{"id":13481451,"url":"https://github.com/ng2-ui/scrollable","last_synced_at":"2025-10-30T15:31:26.208Z","repository":{"id":57130723,"uuid":"62314722","full_name":"ng2-ui/scrollable","owner":"ng2-ui","description":"Angular2 Automatic Scroll Detection With Animation","archived":false,"fork":false,"pushed_at":"2017-12-18T15:24:43.000Z","size":3802,"stargazers_count":17,"open_issues_count":8,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-07T03:33:50.907Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ng2-ui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-30T13:56:47.000Z","updated_at":"2018-06-02T04:15:38.000Z","dependencies_parsed_at":"2022-09-01T00:12:21.753Z","dependency_job_id":null,"html_url":"https://github.com/ng2-ui/scrollable","commit_stats":null,"previous_names":["ng2-ui/ng2-scrollable"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ng2-ui%2Fscrollable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ng2-ui%2Fscrollable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ng2-ui%2Fscrollable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ng2-ui%2Fscrollable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ng2-ui","download_url":"https://codeload.github.com/ng2-ui/scrollable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238994310,"owners_count":19564812,"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":[],"created_at":"2024-07-31T17:00:51.936Z","updated_at":"2025-10-30T15:31:23.806Z","avatar_url":"https://github.com/ng2-ui.png","language":"JavaScript","readme":"# scrollable\nAngular2 Automatic Scroll Detection With Animation\n\n## IMPORTANT: NOT-MAINTAINED\nAccepting volunteers and ready to transfer ownership.\n\n\n\u003ca href=\"https://rawgit.com/ng2-ui/scrollable/master/app/index.html\"\u003e\n  \u003cimg src=\"http://i.imgur.com/9PWnNqe.png\" width=\"50% border=\"1\" /\u003e\n\u003c/a\u003e\n\nPlunker Example: https://plnkr.co/edit/wLVudY?p=preview\u0026open=app.component.ts\n\n## Install\n\n1. install @ngui/scrollable\n\n        $ npm install @ngui/scrollable --save-dev\n\n2. add `map` and `packages` to your `systemjs.config.js`\n\n        map['@ngui/scrollable'] = 'node_modules/@ngui/scrollable/dist/scrollable.umd.js';\n\n3. import NguiScrollableModule to your AppModule\n\n        import { NguiScrollableModule } from '@ngui/scrollable';\n        \n        @NgModule({\n          imports: [BrowserModule, FormsModule, NguiScrollableModule],\n          declarations: [AppComponent],\n          bootstrap: [ AppComponent ]\n        })\n        export class AppModule { }\n\n\n## Usage it in your code\n\n        \u003cul\u003e\n          \u003cli [class.current]=\"id=='s1'\" (click)=\"scrollable.el.scrollTo('s1')\"\u003eOne\n          \u003cli [class.current]=\"id=='s2'\" (click)=\"scrollable.el.scrollTo('s2')\"\u003eTwo\n          \u003cli [class.current]=\"id=='s3'\" (click)=\"scrollable.el.scrollTo('s3')\"\u003eThree\n          \u003cli [class.current]=\"id=='s4'\" (click)=\"scrollable.el.scrollTo('s4')\"\u003eFour\n          \u003cli [class.current]=\"id=='s5'\" (click)=\"scrollable.el.scrollTo('s5')\"\u003eFive\n          \u003cli [class.current]=\"id=='s6'\" (click)=\"scrollable.el.scrollTo('s6')\"\u003eSix\n          \u003cli [class.current]=\"id=='s7'\" (click)=\"scrollable.el.scrollTo('s7')\"\u003eSeven\n          \u003cli [class.current]=\"id=='s8'\" (click)=\"scrollable.el.scrollTo('s8')\"\u003eEight\n          \u003cli [class.current]=\"id=='s9'\" (click)=\"scrollable.el.scrollTo('s9')\"\u003eNine\n        \u003c/ul\u003e\n        \u003cdiv class=\"scrollable\" (scrolledTo)=\"id=$event\" ngui-scrollable\u003e\n          \u003cdiv id=\"s1\"\u003eOne\u003c/div\u003e\n          \u003cdiv id=\"s2\"\u003eTwo\u003c/div\u003e\n          \u003cdiv id=\"s3\"\u003eThree\u003c/div\u003e\n          \u003cdiv id=\"s4\"\u003eFour\u003c/div\u003e\n          \u003cdiv id=\"s5\"\u003eFive\u003c/div\u003e\n          \u003cdiv id=\"s6\"\u003eSix\u003c/div\u003e\n          \u003cdiv id=\"s7\"\u003eSeven\u003c/div\u003e\n          \u003cdiv id=\"s8\"\u003eEight\u003c/div\u003e\n          \u003cdiv id=\"s9\"\u003eNine\u003c/div\u003e\n        \u003c/div\u003e\n\n         \nFor full example, please check out `test` directory to see the example of;\n\n  - `systemjs.config.js`\n  - `app.module.ts`\n  -  and `app.component.ts`.\n\n## **ng2-ui** welcomes new members and contributors\n\nThis module is only improved and maintained by contributors like you.\n\nAs a contributor, it's NOT required to be skilled in Javascript nor Angular2. \nYou are only to be open-minded and interested in helping others.\nAs a contributor, you do following;\n\n  * Updating README.md\n  * Improving code comments\n  * Answering issues and building FAQ\n  * Documentation\n  * Translation\n\nIn result of your active contribution, you will be listed as a core contributor\non https://ng2-ui.github.io, and a member of ng2-ui too.\n\nIf you are interested in becoming a contributor and/or a member of ng-ui,\nplease send me email to `allenhwkim AT gmail.com` with your github id. \n\n\n### LICENSE \nMIT\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fng2-ui%2Fscrollable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fng2-ui%2Fscrollable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fng2-ui%2Fscrollable/lists"}