{"id":20289992,"url":"https://github.com/vpotluri9/ng-spinner","last_synced_at":"2026-05-11T10:32:42.017Z","repository":{"id":29238280,"uuid":"116551356","full_name":"vpotluri9/ng-spinner","owner":"vpotluri9","description":"light weight overlay loading spinner for angular 2+ apps","archived":false,"fork":false,"pushed_at":"2023-01-07T16:44:37.000Z","size":4506,"stargazers_count":0,"open_issues_count":26,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-04T11:51:35.172Z","etag":null,"topics":["angular","angular-apps","angular2","angular4","loading","loading-spinner","spinner"],"latest_commit_sha":null,"homepage":"","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/vpotluri9.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-07T08:55:59.000Z","updated_at":"2020-04-05T08:41:54.000Z","dependencies_parsed_at":"2023-01-14T14:27:05.178Z","dependency_job_id":null,"html_url":"https://github.com/vpotluri9/ng-spinner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vpotluri9/ng-spinner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vpotluri9%2Fng-spinner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vpotluri9%2Fng-spinner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vpotluri9%2Fng-spinner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vpotluri9%2Fng-spinner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vpotluri9","download_url":"https://codeload.github.com/vpotluri9/ng-spinner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vpotluri9%2Fng-spinner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32890650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"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","angular-apps","angular2","angular4","loading","loading-spinner","spinner"],"created_at":"2024-11-14T15:05:47.523Z","updated_at":"2026-05-11T10:32:41.997Z","avatar_url":"https://github.com/vpotluri9.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ng-spinner\n\nThis is a simple overlay spinner for Angular apps with perfectly centered spinner for all device sizes.\n\n## Installation:\n\n    npm install ng-spinner --save\n\n## Versions: \n    v1.0.0 - Angular 5 |\n    v6.0.0 - Angular 6 |\n    v7.0.0 - Angular 7 |\n    v8.0.0 - Angular 8 |\n    v9.0.0 - Angular 9\n\n## Set-Up:\n\n    Import SpinnerModule in your app.module.ts file\n    import { SpinnerModule } from 'ng-spinner';\n\n    Add SpinnerModule to your imports in app.module.ts file\n    imports: [\n        BrowserModule,\n        SpinnerModule\n    ]\n\n    The spinner is based on font-awesome 4.7. So, you need font awesome in your app.\n\n    Install font-awesome\n    npm install --save font-awesome\n\n    if your application has styles.css file\n        add font-awesome to styles in .angular-cli.json\n        \"styles\": [\n            \"styles.css\",\n            \"../node_modules/font-awesome/css/font-awesome.css\"\n        ]\n\n    if your application has styles.scss file\n        Create an empty file _variables.scss in src/.\n        Add the following to _variables.scss:\n        $fa-font-path : '../node_modules/font-awesome/fonts';\n        In styles.scss add the following:\n        @import 'variables';\n        @import '../node_modules/font-awesome/scss/font-awesome';\n\n## Usage:\n\n    Tag: \u003cng-spinner\u003e\u003c/ng-spinner\u003e\n\n    When you want to start the spinner\n        \u003cng-spinner [display]=\"true\"\u003e\u003c/ng-spinner\u003e\n\n    When you want to stop the spinner \n        \u003cng-spinner [display]=\"false\"\u003e\u003c/ng-spinner\u003e \n\n    When you want to display an overlay error symbol in place of spinner\n        \u003cng-spinner [display]=\"true\" [error]=\"true\"\u003e\u003c/ng-spinner\u003e\n\n    When you want to remove the overlay error symbol\n        \u003cng-spinner [display]=\"false\" [error]=\"true\"\u003e\u003c/ng-spinner\u003e\n\n## Best use case: \n\n    when you have an async call -\u003e set the display variable to true and error variable false\n    data successfully loaded -\u003e set the display variable to false and error variable false\n    if there is an error loading -\u003e set the error variable to true and display variable to true\n    if you want to remove the error symbol -\u003e set the display variable to false\n\nIf you find any issues, you can report at \nhttps://github.com/vpotluri9/ng-spinner/issues\n\nHappy Coding :)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvpotluri9%2Fng-spinner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvpotluri9%2Fng-spinner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvpotluri9%2Fng-spinner/lists"}