{"id":16961988,"url":"https://github.com/wangdahoo/ngscroll","last_synced_at":"2026-05-06T23:39:06.538Z","repository":{"id":57159187,"uuid":"69328652","full_name":"wangdahoo/ngScroll","owner":"wangdahoo","description":"Scroller Component for Angular.js 1.x https://wangdahoo.github.io/ngScroll","archived":false,"fork":false,"pushed_at":"2016-10-13T08:47:13.000Z","size":618,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T05:53:15.149Z","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/wangdahoo.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-09-27T07:00:07.000Z","updated_at":"2016-10-12T10:40:38.000Z","dependencies_parsed_at":"2022-09-07T20:11:50.718Z","dependency_job_id":null,"html_url":"https://github.com/wangdahoo/ngScroll","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangdahoo%2FngScroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangdahoo%2FngScroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangdahoo%2FngScroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangdahoo%2FngScroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wangdahoo","download_url":"https://codeload.github.com/wangdahoo/ngScroll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244825263,"owners_count":20516587,"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-10-13T23:04:52.356Z","updated_at":"2026-05-06T23:39:06.514Z","avatar_url":"https://github.com/wangdahoo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular Scroll Component ![version](https://img.shields.io/badge/release-%20v1.0.2%20-green.svg)\n\n\u003e smooth scrolling, pull to refresh and infinite loading, for Angular 1.x\n\n## Demo\n\u003e see sample code in folder /demo. And checkout demo [here](https://wangdahoo.github.io/ngScroll/)\n\n## Quick Start\n```html\n\n  \u003cscroll on-refresh=\"onRefresh\"\n          on-infinite=\"onInfinite\"\n          delegate-id=\"'myScroller'\"\u003e\n    \u003c!-- content in scroller --\u003e      \n    \u003cdiv class=\"item\" ng-repeat=\"it in items\"\u003e\n      \u003cspan ng-bind=\"it\"\u003e\u003c/span\u003e\n    \u003c/div\u003e\n  \u003c/scroll\u003e\n\n```\n\n```js\n\n// code in controller ... \n\n  $scope.$watch('items', function (newVal, oldVal) {\n    $scope.$broadcast('$finishPullToRefresh');\n    var scroller = $scroller.get('myScroller');\n    if (scroller) scroller.resize();\n  });\n  \n  $scope.onRefresh = function () {\n    $timeout(function () {\n      // do change items\n    }, 2000);\n  };\n  \n  $scope.onInfinite = function () {\n    $timeout(function () {\n      // do change items\n    }, 2000);\n  };\n\n// code in controller ... \n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangdahoo%2Fngscroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwangdahoo%2Fngscroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangdahoo%2Fngscroll/lists"}