{"id":40961647,"url":"https://github.com/schirrel/footer-stick-observable","last_synced_at":"2026-01-22T05:44:13.753Z","repository":{"id":57700359,"uuid":"502175055","full_name":"schirrel/footer-stick-observable","owner":"schirrel","description":"A helper for bottom position:sticky,  to listen when it is stuck or not","archived":false,"fork":false,"pushed_at":"2022-06-22T14:59:32.000Z","size":12,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-16T19:18:45.957Z","etag":null,"topics":["css","intersection-observer","intersectionobserver","javascript","position"],"latest_commit_sha":null,"homepage":"https://schirrel.dev/footer-stick-observable/","language":"HTML","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/schirrel.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":"2022-06-10T20:38:51.000Z","updated_at":"2023-03-04T04:02:09.000Z","dependencies_parsed_at":"2022-09-26T21:10:50.651Z","dependency_job_id":null,"html_url":"https://github.com/schirrel/footer-stick-observable","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/schirrel/footer-stick-observable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schirrel%2Ffooter-stick-observable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schirrel%2Ffooter-stick-observable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schirrel%2Ffooter-stick-observable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schirrel%2Ffooter-stick-observable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schirrel","download_url":"https://codeload.github.com/schirrel/footer-stick-observable/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schirrel%2Ffooter-stick-observable/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28656569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["css","intersection-observer","intersectionobserver","javascript","position"],"created_at":"2026-01-22T05:44:13.191Z","updated_at":"2026-01-22T05:44:13.748Z","avatar_url":"https://github.com/schirrel.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# footer-stick-observable\nA helper for bottom `position:sticky`,  to listen when it is stuck or not.\n\n## Install\n\n- ` npm install @schirrel/footer-stick-observable`\n\n### Usage\n\nHave your position:sticky at bottom identified\n\n```html\n\u003cstyle\u003e\n  .my-sticky-footer {\n    bottom: 0;\n    position: sticky;\n  }\n\u003c/style\u003e\n\u003cfooter class=\"my-sticky-footer\"\u003e\u003c/footer\u003e\n```\n\nImport the observe functions from the lib\n\n- `import { observe } from '@schirrel/footer-stick-observable'`\n\n```js\nobserve({\n  selector: \".my-sticky-footer\",\n  callback: ({ isStuck }) =\u003e {},\n});\n```\n\n![example](https://user-images.githubusercontent.com/6757777/173401241-0de38791-f1ca-4492-8424-ddb010a86473.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschirrel%2Ffooter-stick-observable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschirrel%2Ffooter-stick-observable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschirrel%2Ffooter-stick-observable/lists"}