{"id":13480900,"url":"https://github.com/ng2-ui/sticky","last_synced_at":"2025-03-27T11:31:04.799Z","repository":{"id":57130724,"uuid":"63454867","full_name":"ng2-ui/sticky","owner":"ng2-ui","description":"Angular2 \"position: sticky\" implementation as a  directive","archived":true,"fork":false,"pushed_at":"2017-12-18T15:27:11.000Z","size":2738,"stargazers_count":37,"open_issues_count":5,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-11T17:08:13.484Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ng2-ui.github.io/#/sticky","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ng2-ui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-15T22:42:21.000Z","updated_at":"2024-08-11T17:08:13.485Z","dependencies_parsed_at":"2022-09-01T00:12:07.149Z","dependency_job_id":null,"html_url":"https://github.com/ng2-ui/sticky","commit_stats":null,"previous_names":["ng2-ui/ng2-sticky"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ng2-ui%2Fsticky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ng2-ui%2Fsticky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ng2-ui%2Fsticky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ng2-ui%2Fsticky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ng2-ui","download_url":"https://codeload.github.com/ng2-ui/sticky/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245836039,"owners_count":20680308,"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-07-31T17:00:46.377Z","updated_at":"2025-03-27T11:31:04.240Z","avatar_url":"https://github.com/ng2-ui.png","language":"TypeScript","readme":"# @ngui/sticky\nposition: sticky implementaion in Angular2\n\n## IMPORTANT: NOT-MATAINED. \nAccepting volunteers and ready to transfer ownership.\n\n\n\n[Demo](https://rawgit.com/ng2-ui/sticky/master/app/index.html)\n\nPlunker Example: https://plnkr.co/edit/ZKwAHN?p=preview\n\n## Install\n\n1. install @ngui/sticky\n\n        $ npm install @ngui/sticky --save\n\n2. If you are not using webpack, add `map` and `packages` to your `systemjs.config.js`\n\n        map['@ngui/sticky'] = 'node_modules/@ngui/sticky/dist/sticky.umd.js';\n\n3. import NguiStickyModule to your AppModule\n\n        import { NgModule } from '@angular/core';\n        import { FormsModule } from \"@angular/forms\";\n        import { BrowserModule  } from '@angular/platform-browser';\n        import { AppComponent } from './app.component';\n        import { NguiStickyModule } from '@ngui/sticky';\n        \n        @NgModule({\n          imports: [BrowserModule, FormsModule, NguiStickyModule],\n          declarations: [AppComponent],\n          bootstrap: [ AppComponent ]\n        })\n        export class AppModule { }\n\n         \nFor full example, please check out `test` directory to see the example of;\n\n  - `systemjs.config.js`\n  - `app.module.ts`\n  -  and `app.component.ts`.\n\n## Usage it in your code\n\n      \u003cdiv class=\"div-middle\"\u003e\n        \u003cdiv\u003eOne\u003c/div\u003e\n        \u003cdiv\u003eAfter\u003c/div\u003e\n        \u003cdiv\u003eAnother\u003c/div\u003e\n        \n        \u003cdiv ngui-sticky\u003e\n        \n        \u003cbr/\u003e\u003cbr/\u003e\u003cbr/\u003e\n        \u003cdiv\u003eOne\u003c/div\u003e\n        \u003cdiv\u003eAfter\u003c/div\u003e\n        \u003cdiv\u003eAnother\u003c/div\u003e\n      \u003c/div\u003e\n      \n## Offset after some tag or class\n\n      \u003cdiv class=\"top-header\"\u003eHeader Container\u003c/div\u003e\n      \u003c!-- now ngui-sticy will become sticky after top-hader class --\u003e\n      \u003cdiv ngui-sticky sticky-after=\".top-header\"\u003e\u003c/div\u003e\n\n## **ng2-ui** welcomes new members and contributors\n\nThis module is only improved and maintained by contributors like you.\n\nAs a contributor, it's NOT required to be skilled in Javascript nor Angular2. \nYou are only to be open-minded and interested in helping others.\nAs a contributor, you do following;\n\n  * Updating README.md\n  * Improving code comments\n  * Answering issues and building FAQ\n  * Documentation\n  * Translation\n\nIn result of your active contribution, you will be listed as a core contributor\non https://ng2-ui.github.io, and a member of ng2-ui too.\n\nIf you are interested in becoming a contributor and/or a member of ng-ui,\nplease send me email to `allenhwkim AT gmail.com` with your github id. \n","funding_links":[],"categories":["Uncategorized","Awesome Angular [![Awesome TipeIO](https://img.shields.io/badge/Awesome%20Angular-@TipeIO-6C6AE7.svg)](https://github.com/gdi2290/awesome-angular) [![Awesome devarchy.com](https://img.shields.io/badge/Awesome%20Angular-@devarchy.com-86BDC1.svg)](https://github.com/brillout/awesome-angular-components)"],"sub_categories":["Uncategorized","Angular \u003ca id=\"angular\"\u003e\u003c/a\u003e"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fng2-ui%2Fsticky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fng2-ui%2Fsticky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fng2-ui%2Fsticky/lists"}