{"id":15598367,"url":"https://github.com/fluffynuts/ng-scroll","last_synced_at":"2025-09-13T19:32:42.835Z","repository":{"id":65457937,"uuid":"60924035","full_name":"fluffynuts/ng-scroll","owner":"fluffynuts","description":"A simple angular directive to assist with handling mouse scroll events ","archived":false,"fork":false,"pushed_at":"2016-06-13T14:12:43.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-02T14:04:45.860Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluffynuts.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}},"created_at":"2016-06-11T19:21:24.000Z","updated_at":"2017-05-05T18:43:39.000Z","dependencies_parsed_at":"2023-01-24T12:45:25.851Z","dependency_job_id":null,"html_url":"https://github.com/fluffynuts/ng-scroll","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluffynuts%2Fng-scroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluffynuts%2Fng-scroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluffynuts%2Fng-scroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluffynuts%2Fng-scroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluffynuts","download_url":"https://codeload.github.com/fluffynuts/ng-scroll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232905746,"owners_count":18594798,"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-03T01:38:20.400Z","updated_at":"2025-01-07T16:52:37.596Z","avatar_url":"https://github.com/fluffynuts.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ng-scroll\nA simple angular directive to assist with handling mouse scroll events \n\n### Usage\nMake use of the (data)-ng-scroll-up and (data)-ng-scroll-down attributes on your \nelements. The value placed inside these attributes is a function to evaluate in the\nlocal scope.\n\nFor example:\n```\n\u003cinput type=\"text\" \n  data-ng-model=\"value\" \n  data-ng-scroll-up=\"increment()\" \n  data-ng-scroll-down=\"decrement()\" /\u003e\n```\nWhen used with a controller or directive with logic like so:\n```\nfunction linkOrController($scope) {\n  $scope.value = 0;\n  $scope.increment = function() {\n    $scope.value++;\n  };\n  $scope.decrement = function() {\n    $scope.value--;\n  }\n}\n```\nbasically implements a numeric spinner which responds to scroll events -- a more fleshed\nout example can be found in the test/demo.html file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluffynuts%2Fng-scroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluffynuts%2Fng-scroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluffynuts%2Fng-scroll/lists"}