{"id":22406729,"url":"https://github.com/xiaojundebug/ngx-sticky","last_synced_at":"2026-05-01T10:31:48.619Z","repository":{"id":38499282,"uuid":"269601184","full_name":"xiaojundebug/ngx-sticky","owner":"xiaojundebug","description":"An angular sticky component.","archived":false,"fork":false,"pushed_at":"2023-01-07T18:51:02.000Z","size":5223,"stargazers_count":1,"open_issues_count":24,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T01:48:13.978Z","etag":null,"topics":["angular","ng","sticky"],"latest_commit_sha":null,"homepage":"https://xiaojundebug.github.io/ngx-sticky/","language":"TypeScript","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/xiaojundebug.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":"2020-06-05T10:29:26.000Z","updated_at":"2023-07-31T10:00:33.000Z","dependencies_parsed_at":"2023-02-07T21:31:05.542Z","dependency_job_id":null,"html_url":"https://github.com/xiaojundebug/ngx-sticky","commit_stats":null,"previous_names":["xiaojundebug/ngx-sticky"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xiaojundebug/ngx-sticky","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaojundebug%2Fngx-sticky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaojundebug%2Fngx-sticky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaojundebug%2Fngx-sticky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaojundebug%2Fngx-sticky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaojundebug","download_url":"https://codeload.github.com/xiaojundebug/ngx-sticky/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaojundebug%2Fngx-sticky/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32494270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["angular","ng","sticky"],"created_at":"2024-12-05T11:09:56.301Z","updated_at":"2026-05-01T10:31:48.601Z","avatar_url":"https://github.com/xiaojundebug.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NgxSticky\n\nAn angular sticky component.\n\n_development environment: angular 8.2.14_\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"travis\" src=\"https://travis-ci.org/xiaojun1994/ngx-sticky.svg?branch=master\"\u003e\n\u003c/p\u003e\n\n👉 [Demo](https://stackblitz.com/edit/ngx-sticky-demo)\n\n## Install\n\n```bash\nnpm i @ciri/ngx-sticky\n```\n\n## Quick Start\n\nAdd it to your module:\n\n```typescript\nimport { StickyModule } from '@ciri/ngx-sticky'\n\n@NgModule({\n  // ...\n  imports: [\n    // ...\n    StickyModule\n  ],\n})\n```\n\nAdd to view:\n\n```html\n\u003cngx-sticky [offsetTop]=\"0\"\u003ehello world\u003c/ngx-sticky\u003e\n```\n\n## Inputs\n\n| Name      | Type   | Default | Description               |\n| --------- | ------ | ------- | ------------------------- |\n| offsetTop | number | 0       | Offset top                |\n| zIndex    | number | 1       | Equivalent to css z-index |\n\n## Outputs\n\n| Event  | Description                 | Return value |\n| ------ | --------------------------- | ------------ |\n| change | Triggered when state change | state        |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaojundebug%2Fngx-sticky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaojundebug%2Fngx-sticky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaojundebug%2Fngx-sticky/lists"}