{"id":23494842,"url":"https://github.com/shubhi1407/ng2-component-spinner","last_synced_at":"2025-04-15T11:48:41.861Z","repository":{"id":91875207,"uuid":"87217762","full_name":"shubhi1407/ng2-component-spinner","owner":"shubhi1407","description":"A fairly simple and customizable spinner for your angular 2/4 component.","archived":false,"fork":false,"pushed_at":"2017-04-11T19:05:41.000Z","size":56,"stargazers_count":8,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-04-06T18:38:39.803Z","etag":null,"topics":["angular","angular-components","angular2","angular4","typescript"],"latest_commit_sha":null,"homepage":"https://shubhi1407.github.io/ng2-component-spinner/","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/shubhi1407.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-04T17:49:38.000Z","updated_at":"2018-01-23T03:54:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"6517b91c-f8d2-4c58-812a-aa158de1aee4","html_url":"https://github.com/shubhi1407/ng2-component-spinner","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"4486648572c23e7ae6094c4caf89d9f4bba2b9b4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhi1407%2Fng2-component-spinner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhi1407%2Fng2-component-spinner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhi1407%2Fng2-component-spinner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhi1407%2Fng2-component-spinner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shubhi1407","download_url":"https://codeload.github.com/shubhi1407/ng2-component-spinner/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249066552,"owners_count":21207392,"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":["angular","angular-components","angular2","angular4","typescript"],"created_at":"2024-12-25T03:12:54.847Z","updated_at":"2025-04-15T11:48:41.842Z","avatar_url":"https://github.com/shubhi1407.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ng2-component-spinner\n\n## Installation\n\nTo install this library, run:\n\n```bash\n$ npm install ng2-component-spinner --save\n```\n\n## Usage\n\n```bash\n$ npm install ng2-component-spinner\n```\n\nand then from your Angular `AppModule`:\n\n```typescript\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { AppComponent } from './app.component';\n\n// Import library\nimport { SpinnerComponentModule } from 'ng2-component-spinner';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,    \n    SpinnerComponentModule\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n```\n\nOnce this library is imported, you can use it in your Angular application:\nFor this component to work, that component has to be wrapped in a relative positioned div.\n```xml\n\u003cdiv style=\"position:relative\"\u003e\n\u003ch1\u003e\n  {{title}}\n\u003c/h1\u003e\n\u003cspinner-component [spinnerShow]=\"\u003cbooleanVariable\u003e\"\u003e\u003c/spinner-component\u003e\n\u003c/div\u003e\n```\n\n## Development\n\nTo generate all `*.js`, `*.js.map` and `*.d.ts` files:\n\n```bash\n$ npm run tsc\n```\n\nTo lint all `*.ts` files:\n\n```bash\n$ npm run lint\n```\n\n## License\n\nMIT © [Shubhangi Gupta](mailto:shubhangi140793@gmail.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubhi1407%2Fng2-component-spinner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshubhi1407%2Fng2-component-spinner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubhi1407%2Fng2-component-spinner/lists"}