{"id":16201477,"url":"https://github.com/ericrallen/js-scroll-checker","last_synced_at":"2026-02-18T18:31:05.305Z","repository":{"id":6329933,"uuid":"7565355","full_name":"ericrallen/js-scroll-checker","owner":"ericrallen","description":"A simple JS scroll-checker that allows for user-defined scroll_stop and scroll_start callbacks.","archived":false,"fork":false,"pushed_at":"2013-01-11T19:35:54.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T04:56:07.232Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/ericrallen.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":"2013-01-11T19:15:21.000Z","updated_at":"2019-03-16T04:04:08.000Z","dependencies_parsed_at":"2022-09-13T22:01:38.530Z","dependency_job_id":null,"html_url":"https://github.com/ericrallen/js-scroll-checker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ericrallen/js-scroll-checker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericrallen%2Fjs-scroll-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericrallen%2Fjs-scroll-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericrallen%2Fjs-scroll-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericrallen%2Fjs-scroll-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericrallen","download_url":"https://codeload.github.com/ericrallen/js-scroll-checker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericrallen%2Fjs-scroll-checker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29589432,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T16:55:40.614Z","status":"ssl_error","status_checked_at":"2026-02-18T16:55:37.558Z","response_time":162,"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-10-10T09:38:25.090Z","updated_at":"2026-02-18T18:31:05.289Z","avatar_url":"https://github.com/ericrallen.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"js-scroll-checker\n=================\n\nA simple JS scroll-checker that allows for user-defined scroll_stop and scroll_start callbacks.\n\nUse\n===\n\nJSFiddle: http://jsfiddle.net/allenericr/nF5gx/\n\nJust define the `scroll_check.on_start()` and `scroll_check.on_end()` methods and run the `scroll_check.check_scroll()` method when scrolling the window.\n\n\t\t//public method added for callback from scroll start\n\t\tscroll_check.on_start = function() {\n\t\t\t//console.log('scroll started');\n\t\t}\n\n\t\t//public method added for callback from scroll end\n\t\tscroll_check.on_end = function() {\n\t\t\t//console.log('scroll stopped');\n\t\t}\n\n\t\t//on window scroll\n\t\t$(window).scroll(function() {\n\t\t\t//run the check on window scroll\n\t\t\tscroll_check.check_scroll();\n\t\t});\n\nCredits\n=======\n\nThe general idea for this script was borrowed from StackOverflow and modified as needed.\n\nStackOverflow: http://stackoverflow.com/questions/3515446/jquery-mousewheel-detecting-when-the-wheel-stops#answer-3515490\n\t\t\nIt uses an implementation of the Revealing Module Pattern described at the link below (listed under Revealing Module Pattern (Public \u0026 Private)).\n\t\t\nhttp://enterprisejquery.com/2010/10/how-good-c-habits-can-encourage-bad-javascript-habits-part-1/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericrallen%2Fjs-scroll-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericrallen%2Fjs-scroll-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericrallen%2Fjs-scroll-checker/lists"}